Monday, April 14, 2014

Exercises



1.         Install and make yourself familiar with Microsoft Visual Studio and Microsoft Developer Network (MSDN) Library Documentation.
2.         Find the description of the System.Console class in the standard .NET API documentation (MSDN Library).
3.         Find the description of the System.Console.WriteLine() method and its different possible parameters in the MSDN Library.
4.         Compile and execute the sample program from this chapter using the command prompt (the console) and Visual Studio.
5.         Modify the sample program to print a different greeting, for example "Good Day!".
6.         Write a console application that prints your first and last name on the console.
7.         Write a program that prints the following numbers on the console 1, 101, 1001, each on a new line.
8.         Write a program that prints on the console the current date and time.
9.         Write a program that prints the square root of 12345.
10.     Write a program that prints the first 100 members of the sequence 2, -3, 4, -5, 6, -7, 8.
11.     Write a program that reads your age from the console and prints your age after 10 years.
12.     Describe the difference between C# and the .NET Framework.
13.     Make a list of the most popular programming languages. How are they different from C#?

14.     Decompile the example program from exercise 5.

0 comments:

Post a Comment