Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
8 views5 pages

Main Features of C#

Uploaded by

jewelmir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views5 pages

Main Features of C#

Uploaded by

jewelmir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

MAIN FEATURES OF C#

1. SIMPLE

1. Pointers are missing in C#.


2. Unsafe operations such as direct memory manipulation is 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.
7. "==" 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 introduced
structures(structs) which enable the primitive types to become objects.

4. TYPE SAFE

1. In C# we cannot perform unsafe casts like convert double to a


Boolean.
2. 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.

5. INTEROPERABILITY

1. C# includes native support for the COM and windows-based


applications.
2. Allowing restricted use of native pointers.
3. Users no longer have to explicitly implement the unknown and other
COM interfaces those features are built in.
4. C# allows the users to use pointers as unsafe code blocks to
manipulate your old code.
5. Components from VB.NET and other managed code languages can
directly be used in C#.

6. SCALABLE AND UPDATEABLE

1. C#.NET has introduced assemblies which are self-describing by means


of their manifest. manifest establishes the assembly identity, version,
culture and digital signature etc. Assemblies need not to be register
anywhere.
2. To scale our application, we can delete the old files and updating them
with new ones without registering of dynamic linking library.
3. C#.NET support versioning in the language. Native support for
interfaces and method overriding enable complex frameworks to be
developed and evolved over time.

7. Easy-to-Development

1. The rich class libraries make many functions easy to be implemented.


C# has influence on most of the programmers of the world and it has a
history in the programming world.

8. Cross Platform

1. Your application will run well only if the machine has installed the .NET
framework. This is the most important requirement for the C#. Also,
this could be an important opportunity for the young programmers to
get them trained with .NET framework.

9. Better Integration

1. Applications written in C#.NET will have better integration and


interpretability with other .NET Technologies. Actually, C# runs on CLR,
making it easy to integrate with components written in other
languages (specifically, CLR-compatible languages)

10. More Legible Coding

1. Formalized concept of get-set methods, so the codes becomes more


legible. Also, in C#, you don’t need to worry about header files. Coding
would be a worth to do in C#.

12. Programming Support


1. We can buy support from the Microsoft in C# (.NET framework) unlike
Java where community is your support. So, if things get wrong then
you can solve your issues with the support of Microsoft.

13. Backward Compatibility

1. C#.NET applications support backward compatibility. Only you need to


select the .NET framework version.

14. Less Coding and Increased Reuse of Code:

1. This framework works on object-oriented programming which


eliminates unnecessary codes and involves less coding for the
developers. C#.NET consists of re-useable code and many re-useable
components. This translates into less time and consequently less cost
to develop applications.

15. Deployment:

1. With features such as no-impact applications, private components,


controlled code sharing, side-by-side versioning and partially trusted
code, the C#.NET framework makes deployment easier post
development. The code execution environment supports safe code
execution for reduced conflicts in software deployment and versioning,
and minimized performance problems of scripted or interpreted
environments.

16. Reliability:

1. Since its release, C#.NET has been used to develop millions of


applications. Its performance on servers is also very stable and
reliable.

17. Security:

1. C#.NET offers enhanced application security as web applications


developed using ASP.NET, that has windows confirmation and
configuration. Managed code and CLR offer safeguard features such as
role-based security and code access security.

18. Use across Platforms:

1. C#.NET allows developers to develop applications for a desktop, a


browser, a mobile browser (like on your cell phone), or an application
running on PDA.
19. Real-life communication and push service

1. We can develop web-socket and web-worker based real-life


communication and push service using node.js and signalr in C#.NET

19. Use for Service-Oriented Architecture:

1. C#.NET is also used for Web Services, which are a solution for
executing an SOA strategy. Through Web Services, applications which
are designed in different programming languages or platforms, are
able to communicate and transmit data utilizing standard Internet
protocols.

20. Integration with Legacy Systems:

1. The capability of C#.NET to process all types of XML documents and


write any format of file with swiftness and ease, provides multiple
routes for integration.

21. Database communications

1. C#.NET can communicate and work with existing all databases.


2. C#.NET support Entity Framework

22. Application Architecture

1. C#.NET has implemented SOLID principles. It also has implemented


OOP’s object approach and generic approach. To implement IoC
(Inversion of Control) C#.NET has its own Dependency Injection
libraries. It also supports third-party Dependency Injection libraries.
2. We can implement design pattern and anti-pattern in C#.NET.

23. Extensibility

1. We can use Microsoft’s and also third-party extensions in C#.NET


projects using NUGET and other platforms.
2. We can also create extensions in C#.NET.

Types of applications that can be created with .NET

 Desktop applications that include:


o Windows GUI application or Windows Forms (or WinForms) applications
o Windows services applications

 Web based applications including:


o Websites
o XML/JSON Web services
o REST/Web APIs
o Applications requiring integration with partners through the Internet

 Applications on embedded systems like:


o PDA (hand-held) applications
o Applications for mobiles (Windows Phone, Android, iOS, etc.)

 Others including:
o Windows Presentation Foundation (WPF) applications
o Console based applications
o Service-oriented applications using Windows Communication Foundation (WCF)
o Workflow-enabled applications using Windows Workflow Foundation (WF)
o ASP.NET applications
o MVC applications
o Cross-Platform applications

You might also like