You are on page 1of 15

C# Overview and Features

Code Sample VI. Why use C# VIII. How to install IV.Conlusion .NET Platform VII.Content I. Features V. Microsoft . History of C# II. Architecture III.

Microsoft says that C# is a language with the power of C++ and simplicity of Visual Basic.NET programming. .What is C#? C# ( pronounced as C-sharp ) is a new Java like language from Microsoft. C# supposed to be the best language for Microsoft's .

Hewlett-Packard and Intel co-sponsored the submission of specifications for the Common Language Infrastructure (CLI) and C# programming language to the international standardization organization ECMA During next year the specifications were formulated into standards. In December. 2000. Microsoft. the ECMA General Assembly ratified the 1st edition of the C# and CLI standards as ECMA-334 and ECMA-335 .History    In August. 2001.

2003.History II   In April. ISO ratified the standards Work at ECMA on the next edition of the Standards is already underway .

the same set of MSIL can be JIT-compiled and executed on any supported architecture .NET Framework SDK generatesMSIL + Metadata  CPU specific Code (JIT)  Compiler    Because the runtime supplies one or more JIT compilers for each computer architecture it supports.Architecture  Common Language Runtime   manages code execution provides services C# compiler is part of .

cs extension.How to install     Install Windows 2000 and IE 5. After installing these you can write your code in any text editor and save it as . Install Microsoft .cs . Microsoft has it on MSDN site. To run the program use the csc command like csc c:\myprogram.5.NET Framework SDK.

Managed execution environment Variables are type-safe.Features       Garbage collection relieves the programmer of the burden of manual memory management. native support for the Component Object Model (COM) and Windows®-based APIs. Variables in C# are automatically initialized by the environment. Built in versioning .

Features II     Restricted use of native pointers With C#. . developers are allowed to use pointers and traditional C/C++ features such as manually managed memory and pointer arithmetic. every object is automatically a COM object Platform and language independent Inside a specially marked code block.

Features III       Compiler allows use of initialised Variables only Strong exception handling Full XML support Suited well for building Web Services Array bounds checking The language is intended for use in developing software components suitable for deployment in distributed environments. .



NET Provides access to many kinds of Devices Developed mainly in C# itself .Microsoft .NET Platform       Huge library of Functions Collection of classes Windows Application Framework Web Framework for ASP.

by virtue of the following features: Full interoperability support through COM+ 1. XML support for Web-based component interaction. . across platforms.NET Framework services. Versioning to provide ease of administration and deployment.0 and . Security provided through intrinsic code trust mechanisms. Full support of extensible metadata concepts.Why use C#         Full COM/Platform support for existing code integration. with legacy data. You can also interoperate with other languages. Robustness through garbage collection and type safety.

Conclusion C# is a modern. .NET platform. object-oriented language that enables programmers build solutions for the Microsoft . The framework provided allows C# components to become XML Web services that are available across the Internet. from any application running on any platform.