C# : Tutorial of Asp.net with c# and example

Example and code about windows application, web application, SQL, C#, WPF etc which is helpful to developer and programer.

Search This Blog

Features of c# or advantage of c#

By This Article We Explain Features of C# 

  1. Modern

  2. Object oriented

  3. Type safe

  4. Version able

  5. consistent

  6. compatible

  7. flexible

1.    Modern : It supports, Automatic garbage collection, modern approach to debugging, rich intrinsic model for error handling, decimal data type for financial.

  1. Object :  It supports object-oriented system, namely Encapsulation, Inheritance and Polymorphism.
  1. 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.

  1. 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.

  1. 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.

  1. Compatible :   C# enforce the .NET common language requirement and therefore allows interoperation with other .NET language.
C# Advantage

If our post is useful please share and comment on our post for more post and detail Visit :