C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » .NET Framework »

Features of C#


Posted Date: 17 Feb 2004    Resource Type: Articles    Category: .NET Framework
Author: SasitharMember Level: Silver    
Rating: 1 out of 5Points: 10



1.SIMPLE

a. Pointers are missing in C#.
b. Unsafe operations such as direct memory manipulation are not allowed.
c. In C# there is no usage of "::" or "->" operators.
d. Since it`s on .NET, it inherits the features of automatic memory management and garbage collection.
e. Varying ranges of the primitive types like Integer, Floats etc.
f. Integer values of 0 and 1 are no longer accepted as Boolean values. Boolean values are pure true or
false values in C# so no more errors of "="operator and "=="operator.
"==" is used for comparison operation and "=" is used for assignment operation.

2.MODERN

a. C# has been based according to the current trend and is very powerful and simple for building
interoperable, scalable, robust applications.
b. C# includes built in support to turn any component into a web service that can be invoked over the
Internet from any application running on any platform.

3.OBJECT ORIENTED

a. C# supports Data Encapsulation, inheritance, polymorphism, interfaces.
b. (int, float, double) are not objects in java but C# has introduces structures(structs) which enable
the primitive types to become objects
int i=1;
String a=i Tostring(); //conversion (or) Boxing

4. TYPE SAFE

a. In C# we cannot perform unsafe casts like convert double to a Boolean.
b. Value types (primitive types) are initialized to zeros and reference types (objects and classes are
initialized to null by the compiler automatically.
c. Arrays are zero base indexed and are bound checked.
d. Overflow of types can be checked.

5. INTEROPERABILITY

a. C# includes native support for the COM and windows based applications.
b. Allowing restricted use of native pointers.
c. Users no longer have to explicitly implement the unknown and other COM interfaces, those features
are built in.
d. C# allows the users to use pointers as unsafe code blocks to manipulate your old code.
e. Components from VB NET and other managed code languages and directly be used in C#.

6.SCALABLE AND UPDATEABLE

a. .NET has introduced assemblies, which are self-describing by means of their manifest. Manifest
establishes the assembly identity, version, culture and digital signature etc. Assemblies need not
to be register anywhere.
b. To scale our application we delete the old files and updating them with new ones. No registering of
dynamic linking library.
c. Updating software components is an error prone task. Revisions made to the code can effect the
existing program C# support versioning in the language. Native support for interfaces and method
overriding enable complex frame works to be developed and evolved over time.



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Simple example on pointers.
Previous Resource: Passing Parameters
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use