♠ Posted by uvesh in Advantage of C#,Features of C#,object oriented concept at Friday, February 21, 2014
By This Article We Explain Features of C#
Modern
Object oriented
Type safe
Version able
consistent
compatible
flexible
1.
Modern : It supports, Automatic garbage collection, modern approach to
debugging, rich intrinsic model for error handling, decimal data type for
financial.
- Object : It supports object-oriented system, namely Encapsulation, Inheritance and Polymorphism.
- Type-Safe :
i.
Type safety promotes robust
programs, C# incorporates a number of type-safe measures.
ii.
All dynamically allocated
object and arrays are initialized to zero.
iii.
Use of any uninitialized
variables produces an error message by the compilers
iv.
Access to array are range
checked and warned if it goes out-of-bounds.
v.
C# does not permit unsafe
casts.
vi.
C# enforces overflow checking
in arithmetic’s operation.
vii.
Reference parameters that are
passed are type-safe.
viii.
C# supports automatic garbage
collection.
- Version able : Making new versions of software modules work with the existing applications is known as versioning with the help of new and override keywords, With this support, a programmer can guarantee that his new class library will maintain binary compatibility with the existing client application.
- Consistent : It supports an unified type system which eliminates the problem of varying ranges of integer types. All types are treated as object and developers can extend the type system simply and easily.
- Compatible : C# enforce the .NET common language requirement and therefore allows interoperation with other .NET language.
If our post is useful please share and comment on our post for more post and detail Visit :
http://aspdotnethelpmaster.blogspot.in/
0 comments:
Post a Comment