C Sharp Presentation Slides

10
PRESENTATION By – Amol Khot. ON

description

This is the Introduction part of C#.with the example

Transcript of C Sharp Presentation Slides

Page 1: C Sharp Presentation Slides

PRESENTATION

By –

Amol Khot.

ON

Page 2: C Sharp Presentation Slides

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

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

FORTRAN

C

C++

ANSI C

JAVA

ANSI C++

C#

1957

1972

1983

1987

1995

1996

2000

Page 5: C Sharp Presentation Slides

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

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

Characteristics of C#

Simple

Modern

Object-Oriented

Versionable

Flexible

Page 8: C Sharp Presentation Slides

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

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

Thank You