Features of C# (C Sharp)
- Simplicity - All the Syntax of java is like C++. There is no pre-processor and much larger library. C# code does not require header files. All code is written inline.
- Consistent Behaviour - C# introduced a unified type system which eliminates the problem of varying ranges of integer types. All types are treated as objects and developers can extend the type system simply and easily.
- Modern Programming Language - C# supports number of modem features, such as:
- Automatic Garbage Collection
- Error handling features
- Modern debugging features
- Robust Security features
- Pure Object-Oriented Programming Language - In C#, everything is an object. There are no more global functions, variable and constants. It supports all three object oriented features:
- Encapsulation
- Inheritance
- Polymorphism
- Type Safety - Type safety promotes robust programming. Some examples of type safety are:
- All objects and arrays are initialized by zero dynamically
- An error message will be produced, on use of any uninitialized variable
- Automatic checking of array (out of bound and etc.)
- Feature of Versioning - Making new versions of software module work with the existing applications is known as versioning. It’s achieve by the keywords new and override.
- Compatible with other Language - C# enforces the .NET common language specifications (CLS) and therefore allows interoperation with other .NET language
"features of c# sharp"
"c# 10 features"
"c# 11 features"
"c# features with examples"