49,777 Members
2 added today
332,753 Resources
164 added today

All Devdex   All Gurus  

C# and it's Features
Author: GNANAVEL GNANA ARUN GANESH
Rating: Rate this Resource
Visits: 2871

Discuss in Newsgroups

Page:

  1. C# is a simple, modern, object oriented language derived from C++ and Java.
  2. It aims to combine the high productivity of Visual Basic and the raw power of C++.
  3. It is a part of Microsoft Visual Studio7.0.
  4. Visual studio supports Vb, VC++, C++, Vbscript, Jscript. All of these languages provide access to the Microsoft .NET platform.
  5. .NET includes a Common Execution engine and a rich class library.
  6. Microsoft's JVM equiv. is Common language run time (CLR).
  7. CLR accommodates more than one languages such as  C#, VB.NET, Jscript, ASP.NET, C++.
  8. Source code --->Intermediate Language code (IL) ---> (JIT Compiler) Native code.
  9. The classes and data types are common to all of the .NET languages.
  10. We may develop Console application, Windows application, and Web application using C#.  
  11. In C# Microsoft has taken care of C++ problems such as Memory management, pointers etc.
  12. It supports garbage collection, automatic memory management and a lot.

MAIN FEATURES OF C#

1.SIMPLE
1. Pointers are missing in C#.
2. Unsafe operations such as direct memory manipulation are not allowed.
3. In C# there is  no usage of "::" or "->" operators.
4. Since it`s on .NET, it inherits the features of automatic memory management and garbage     collection.
5. Varying ranges of the primitive types like Integer, Floats etc.
6. 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
1.C# has been based according to the current trend and is very powerful and simple for building interoperable, scalable, robust applications.
2. 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
1. C# supports Data Encapsulation, inheritance, polymorphism, interfaces.
2. (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
1. In C# we cannot perform unsafe casts like convert double to a Boolean.
1. Value types (primitive types) are initialized to zeros and reference types (objects and classes are initialized to null by the compiler automatically.
3. Arrays are zero base indexed and are bound checked.
4. Overflow of types can be checked.


Next Page >>

Visitor Comments

Be the first to rate this article!

 

Rate this Article







	
	
	



ASP.NET Chart Control.
Charts from your Database.
Live Demo & FREE Trial!

ASP ArticlesThis category has been added to your weekly newsletter
ASP Web Sites
ADSI & WSH BooksThis category has been added to your weekly newsletter
FREE ComponentsThis category has been added to your weekly newsletter
ASP EventsThis category has been added to your weekly newsletter
ASP HeadlinesThis category has been added to your weekly newsletter

CSharp ArticlesThis category has been added to your weekly newsletter
C# Web SitesThis category has been added to your weekly newsletter

SQL ArticlesThis category has been added to your weekly newsletter
SQL Events
SQL HeadlinesThis category has been added to your weekly newsletter
SQL Jobs

Jobs in CaliforniaThis category has been added to your weekly newsletter

XML ArticlesThis category has been added to your weekly newsletter
XML BooksThis category has been added to your weekly newsletter
XML Web Sites
XML Tutorials

free asp host

"Alex Homer"This search has been added to your weekly newsletter

Edit My Favorites Edit Profile & Favorites

 




Developersdex Home | ASP | C# | SQL | VB | XML | Gurus
Add Your Link | Add Your Code | FAQ | Advertise | Link To Us | Contact Us |
Copyright © 2010 Developersdex™. All rights reserved.