PRESENTATION
By –
Amol Khot.
ON
What is C# ?
Programming language developed by Microsoft Corporation ,USA.
Fully Object-oriented language like JAVA.
First component-oriented language.
Design to support key features of .NET Framework.
Derived from C and C++ languages.
Why C# ?
Large number of computer languages are developed ,
Choice depends on factors such as H/W environment , business environment and user requirements.
FORTRAN
C
C++
ANSI C
JAVA
ANSI C++
C#
1957
1972
1983
1987
1995
1996
2000
Why C# ?
C and C++ are the most wildly used languages in software industry for last 20 years
They provide programmers control for developing scientific , commercial & business applications.
Why C# ?
Microsoft want an environment that
* completely in tune with web-programming practices,
* easily integrates with existing system.
therefore Microsoft decided to design new language.
Result is C#, a simple & modern language
Characteristics of C#
Simple
Modern
Object-Oriented
Versionable
Flexible
First ‘Hello World’ program
using System; // System is a namespace
class Hello{
public static void Main() {
Console.WriteLine( "Hello world");
}}
Executing the Program
After creating a program, save it with .cs
To compiling type command
csc <program name>.cs
If the program is error free then C# compiler create a executable file <program name>.exe
To see the output type name of executable files name in the command prompt.
Thank You