Visual C# Getting Started
How Do I in C#

How Do I is your gateway to key task-based topics about C# programming and application development. The essential categories for what you can do with C# are listed in this topic. The links guide you to important procedure-based Help pages.

C# Language (How Do I in C#)

C# Language Specification… Threading… Generics... Code example snippets… Samples… more

.NET Framework (How Do I in C#)

File I/O… Strings… Collections… Serialization… Components… Assemblies and Application Domains… more

Windows Applications (How Do I in C#)

Building Windows Applications… Controls… Windows Forms… Drawing… more

Web Pages and Web Services (How Do I in C#)

ASP.NET Web pages… XML Web Services… more

LINQ (How Do I in C#)

Language-Integrated Query (LINQ)... LINQ to SQL, LINQ to XML, LINQ to DataSet, LINQ to Objects...more

Debugging (How Do I in C#)

Using the VS Debugger… .NET Framework Trace class… Debugging SQL Transactions… more

Data Access (How Do I in C#)

Connecting to data sources… SQL Server... Data binding… more

Designing Classes (How Do I in C#)

Class Designer... Working with Classes and Other Types... Create and Modify Type Members... Class Library Design Guidelines… more

Security (How Do I in C#)

Code Access Security… Security Policy Best Practices… Permission Sets… more

Office Programming (How Do I in C#)

Office Programming… Controls… Word… Excel… more

Smart Devices (How Do I in C#)

What's New in Smart Device Projects... Programming Smart Devices... Debugging Smart Devices... more

Deployment (How Do I in C#)

ClickOnce… Windows Installer

Additional Resources

The following sites require an Internet connection.

Visual Studio 2008 Developer Center

Contains many articles and resources about how to develop applications by using Visual Studio 2008. This site is updated regularly with new content.

Visual C# Developer Center

Contains many articles and resources about how to develop C# applications. This site is updated regularly with new content.

Microsoft .NET Framework Developer Center

Contains many articles and resources about how to develop and debugging .NET Framework applications. This site is updated regularly with new content.

See Also

Other Resources



Community Content

Thomas Lee
C#: Get all Information about Remote Machine

to read character seperated by comma in sql server 2005

[tfl - 27 Aug 08] You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quick response using the forums than through the Community Content.

For help on specific areas:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&


Jason_A_T
I am new to C# and I am trying to work out a problem expression that was provided

/***************************************************************************************

* Programming Assignment: HW2- Page 133, Exercise #5

* Developer: _______________________

* Date Written: _______________________

* Purpose: This program calculates take home pay based on commission

* rate, weekly sales, tax rate, social security rate, and

* retirement fund contribution rate.

*

* Algorithm:

* 1. define variables: employeeName, totalSales, userInput, commission, fedTaxPaid,

* socSecPaid, retirementPaid, takeHomePay

* 2. define constants:

* COMMISSION_RATE = 0.07

* FEDERAL_TAX_RATE = 0.18

* SOCIAL_SECURITY_RATE = 0.06

* RETIREMENT_CONTRIBUTION = 0.10

* 3. input employee name

* 4. input totalSales

* 5. calculate commission = totalSales * COMMISSION_RATE

* 6. calculate fedTaxPaid = commission * FEDERAL_TAX_RATE

* 7. calculate socSecPaid = commission * SOCIAL_SECURITY_RATE

* 8. calculate retirementPaid = commission * RETIREMENT_CONTRIBUTION

* 9. calculate takeHomePay = commission - (fedTaxPaid + socSecPaid + retirementPaid)

* 10. Output commission, fedTaxPaid, retirementPaid, socSecPaid, takeHomePay

**************************************************************************************/

using

System;

namespace

Ch03_05

{

classCalculateTakeHomePay

{

staticvoid Main()

{

// step 1

string employeeName,

userInput;

double totalSales,

Sales,

commission,

fedTaxPaid,

socSecPaid,

retirementPaid,

takeHomePay;

// step 2

constdouble COMMISSION_RATE = 0.07;

constdouble FEDERAL_TAX_RATE = 0.18;

constdouble SOCIAL_SECURITY_RATE = 0.06;

constdouble RETIREMENT_CONTRIBUTION = 0.10;

// step 3

Console.Write(" INPUT EMPLOYEE NAME: \n");

employeeName =

Console.ReadLine(1)employeeName;

// step 4

Console.Write(" INPUT TOTAL SALES : ");

totalSales =

Console.ReadLine(0);

totalSales =

Console.WriteLine ("(0)Total Sales )\n",totalSales);

commission = totalSales * COMMISSION_RATE;

// step 5

fedTaxPaid = commission * FEDERAL_TAX_RATE;

// step 6

socSecPaid = commission * RETIREMENT_CONTRIBUTION;

// step 7

retirementPaid = commission * RETIREMENT_CONTRIBUTION;

// step 8

takeHomePay = commission - (fedTaxPaid + socSecPaid + retirementPaid);

// step 9

// step 10

// Console.WriteLine("\n\n COMMISSION {_____}", ________);

//Console.WriteLine(" FEDERAL TAX {_____}", ____________);

//Console.WriteLine(" RETIREMENT {_____}", ____________);

//Console.WriteLine(" SOCIAL SECURITY {_____}", ____________);

//Console.WriteLine("\n TAKE HOME PAY {_____}\n\n", __________);

}

}

}

// Console.WriteLine("(0) worked {1} hours at {2:c}\n",name, hours, rate); (this is sample code from a program I built

// in class.

Tags :

Page view tracker