|
|

This is only a preview of the paper Click here to register and get the full text. Existing members click here to login
|
|
|
The most significant difference among the supported programming languages is, not surprisingly, the language syntax. Both C++ and Visual Basic have an established history and significant base of existing code, which were taken into account when they were updated for .NET. C#, on the other hand, starts with a cleaner slate. Several advanced topics—such as the build process and defining namespaces—will be introduced with the corresponding sample code in the following sections, but the following are some of the more obvious differences between the languages. Case Sensitivity—C++ and C# are both case sensitive, but Visual Basic is not. For a program to be CLS compliant, however, public members cannot differ only in their case. This restriction allows Visual Basic (and potentially other CLS-compliant languages) to produce components as well as to use components created in other, case-sensitive languages. Referencing a Library—To use classes, which are located in namespaces, it is first necessary to obtain a reference to the assembly containing the required namespace. All .NET programs use—at a minimum—the System namespace, which is found in Mscorlib.dll (typically located in the WindowsSystem directory).
Approximate Word count = 716 Approximate Pages = 2.9 (250 words per page double spaced)
|
|
|
|
|
|