latest Post

Advantages of C#

Advantages of C#

C# being a .NET language, it supports language interoperability, i.e. C# can access code written in any .NET compliant language and can also inherit the classes written in these languages.

The code written in C#, on compilation generates an ‘.exe' or ‘.dll' file which is also called Portable Executable file. These files contain MSIL (Microsoft Intermediate Language) code. As against this, the Java code on compilation generates a ‘.class' file, which contains bytecode.

The portable executable file of C# can contain any number of classes.

The methods in C# are not virtual by default. On the contrary.

The classes in C# are grouped in Namespaces.

The C# namespaces are not related to the directories.

The variables of primitive data types in C# are more powerful. This is because even though they are not objects functions can be called using them.

C# has features like Properties and Indexers.

C# supports Structures, Operator Overloading and Pre-processors directives.

Through C# we can easily call Windows API function and access COM components.

About Mallikarjun A

Mallikarjun A
Recommended Posts × +

0 comments:

Post a Comment