9
Features Provided by C# Language by Amit Kumar BCA-IV 07

Features provided by c#

Embed Size (px)

Citation preview

Page 1: Features provided by c#

Features Provided by C# Language

by Amit Kumar

BCA-IV07

Page 2: Features provided by c#

Simplicity C# code does not require header file.

Page 3: Features provided by c#

Modern Programming Language C# supports number of modern

features such as- Automatic Garbage Collection Error handling features Modern debugging features Robust security features

Page 4: Features provided by c#

Pure object oriented programming In c# everything is an object. There

are no global functions, variables and constants. It supports all three object oriented features-

Encapsulation Inheritance Polymorphism

Page 5: Features provided by c#

Type safety Type safety promotes robust

programming. Example- All objects and arrays are initialized

by 0. An error message will be generated if

we use uninitialized variable. Automatic checking of array out of

bond.

Page 6: Features provided by c#

Versioning Making new versions of software

module work with the existing applications is known as versioning. It is achieved by the keyword new and overwrite.

Page 7: Features provided by c#

Compatible with other languages C# enforces the .NET common

language Specification(CLS) and therefore allows interpolation with other .NET languages.

Page 8: Features provided by c#

Interoperability C# supports for using object models,

no matter what language is used.

Page 9: Features provided by c#

Thank You