C Sharp Presentation Slides
description
Transcript of C Sharp Presentation Slides
![Page 1: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/1.jpg)
PRESENTATION
By –
Amol Khot.
ON
![Page 2: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/2.jpg)
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.
![Page 3: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/3.jpg)
Why C# ?
Large number of computer languages are developed ,
Choice depends on factors such as H/W environment , business environment and user requirements.
![Page 4: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/4.jpg)
FORTRAN
C
C++
ANSI C
JAVA
ANSI C++
C#
1957
1972
1983
1987
1995
1996
2000
![Page 5: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/5.jpg)
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.
![Page 6: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/6.jpg)
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
![Page 7: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/7.jpg)
Characteristics of C#
Simple
Modern
Object-Oriented
Versionable
Flexible
![Page 8: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/8.jpg)
First ‘Hello World’ program
using System; // System is a namespace
class Hello{
public static void Main() {
Console.WriteLine( "Hello world");
}}
![Page 9: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/9.jpg)
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.
![Page 10: C Sharp Presentation Slides](https://reader036.fdocuments.us/reader036/viewer/2022081813/54695bb9af7959637e8b490d/html5/thumbnails/10.jpg)
Thank You