13

Session#1 csharp MTCS

Embed Size (px)

DESCRIPTION

my first presentation about C#

Citation preview

Page 1: Session#1 csharp MTCS
Page 2: Session#1 csharp MTCS

Csharp:

Page 3: Session#1 csharp MTCS

About C#:

• C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.

C# was developed by Anders Hejlsberg and his team during the development of .Net Framework.

• C# is designed for Common Language Infrastructure (CLI), which consists of the executable code and runtime environment that allows use of various high-level languages to be used on different computer platforms and architectures.

Page 4: Session#1 csharp MTCS

C# professional language:

The following reasons make C# a widely used professional language:

Modern, general-purpose programming language

Object oriented.

Component oriented.

Easy to learn.

Structured language.

It produces efficient programs.

It can be compiled on a variety of computer platforms.

Part of .Net Framework.

Page 5: Session#1 csharp MTCS

Strong Programming Features of C#

Following is the list of few important features:

Boolean Conditions

Automatic Garbage Collection

Standard Library

Assembly Versioning

Properties and Events

Delegates and Events Management

Easy-to-use Generics

Indexers

Conditional Compilation

Simple Multithreading

LINQ and Lambda Expressions

Integration with Windows

Page 6: Session#1 csharp MTCS

C# program basically consists of the following parts:

• Namespace declaration

• A class

• Class methods

• Class attributes

• A Main method

• Statements & Expressions

• Comments

Page 7: Session#1 csharp MTCS

Data Types :Value Types :

Page 8: Session#1 csharp MTCS
Page 9: Session#1 csharp MTCS

Hello World EX:Using system;

Namespace HelloWorldApplication

{

Class HelloWorld

{

static void Main(string[] args)

{

/* Print Hello World in separated line *\

Console.WriteLine("hello world");

Console.ReadyKey();

}

}

}

Page 10: Session#1 csharp MTCS
Page 11: Session#1 csharp MTCS

prepared from:

http://www.tutorialspoint.com/index.htm

Page 12: Session#1 csharp MTCS

Contact Me:[email protected]

Fb/ https://www.facebook.com/be.smile.2012

Mobile: 01010042431

Page 13: Session#1 csharp MTCS