C# Examples
If you are learning C# and would like to see something in action, take a look at the mini programs. These are here in case you are the type of person that learns by example.
Submitted by oscar on Thu, 11/19/2009 - 17:03
The following program will take the users input (in this case grades on a 1 - 100 scale) and provide the average grade noted as both a numeric value and letter grade.
One of the neat work-arounds shown in this example is the use of the switch statement. Visual Basic has a similar statement to C#'s switch, however it is a little more flexible. In each case condition in Visual Basic, you can name a range. However, the switch statement in C# you can only test one value at a time.
Tags:
Submitted by oscar on Thu, 11/12/2009 - 17:16
Often we learn a programming language to accomplish a task that was assigned to us at work or in class. Although we find the experience gratifying, we don't have an opportunity to continue to use the new skill we learned until another occasion arises when we need to use it.
Tags: