WELCOME TO BHATI TRICKS WRITE FOR US ADVERTISE YOUR BLOG/SITE HERE POST YOUR ARTICLE/TRICK HERE



Sunday 21 July 2013

WHAT IS C#


INTRODUCTION TO C# (PRONOUNCED C-SHARP)
WHAT-IS-C#


c# ( c-sharp) is no doubt the language of choice in the .NET environment.
It is a whole new language free of the backward compatibility curse with a whole bunch of new, exciting and promising features. It is an object oriented programming language and has at its core, many similarities to java, c++ and VB. In the fact, c# combines the power and efficiency of c++, the simple and clean OO design of java and the language simplification of visual basic.
Like java, c# also does not allow multiple inheritance or the use of pointers (in safe/ managed code), but does provide garbage memory collection at run time, type and memory access checking.
 However, contrary to JAVA, c# maintains the unique useful operations of c++ like operator overloading, enumerations, per-processor directives, pointers(in unmanaged / unsafe code), function pointers (in the form of delegates) and promises to have template support in the next versions. Like VB, it also supports the concepts of properties (context sensitive fields).
In addition to this, c# comes up with some new and exciting features such as reflections, attributes, marshaling, remoting, threads, streams, data access with ADO.NET and more.
THE .NET ARCHITECTURE AND .NET FRAMEWORK:-
In the .NET architecture and the .NET framework there are different important terms and concepts which we will discuss one by one:-
1.THE COMMON LANGUAGE RUNTIME (CLR):-
            The most important concept of .NET framework is the existence and functionality of the .NET common language runtime (CLR), also called .NET run time for short. It is a framework layer that resides above the OS and handles the execution of all the .NET applications. OUR programs don't directly communicate with the OS but go through the CLR.
WHAT-IS-C#
2.MICROSOFT INTERMEDIATE LANGUAGE CODE (MSIL):-
            When we compile our .NET program using any .NET complaint language such as c#, VB.NET or c++.NET our source code does not get converted into the executable binary code, but to an intermediate code known as MSIL which is interpreted by the common language run time. MSIL is operating system and hardware independent code. Upon program execution, this MSIL (intermediate code) is converted to binary executable code (native code). Cross language relationships are possible as MSIL code is similar for each .NET language.
IF YOU HAVE ANY QUESTION PLEASE POST IT IN THE COMMENT BOX.



Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter

0 comments:

Post a Comment

 

ABOUT THE AUTHOR

Founder & Author:I ABHISHEK BHATI student of COMPUTER SCIENCE by education a Blogger by profession. Exploring Technology is my passion.BHATI TRICKS is place for Tech Lovers. ABHISHEK BHATI launched his frist Marketing Site in 2013.
...Read More

GET FREE EMAIL UPDATES

Join us for free and get valuable content delivered right in your inbox.



recent comments

BHATI TRICKS Widget

| BHATI TRICKS © BHATI TRICKS. All Rights Reserved | | Back To Top |