ABSTRACT

This chapter covers the basic aspects of the C# language including its history, compilers, algorithms, variables, and the use of the Base Class Library. It explains designs to facilitate a quick and easy introduction to ensure a strong foundation in programming and problem solving. C# is a high- or mid-level programming language.C# was developed by a team of Microsoft programmers led by chief architect Anders Hejlsberg. C# uses several data types, including integers, real numbers, characters, and void. As with C++, C# can use the sizeof keyword to gather information pertaining to the size of data types. Using arithmetic operators in C# is much like using a handheld calculator or doing arithmetic on paper. One very noticeable change from C++ to C# is the altered use of the iostream classes, and hence, the keywords using and namespace. Like C and C++, C# is a case-sensitive language; thus, any discrepancy in case settings will result in an error.