c# language panithan chandrapatya 47541263. agenda c# history c# goals c# fixes c# contribution c#...

9
C# Language C# Language Panithan Chandrapatya 47541263

Upload: francine-spencer

Post on 04-Jan-2016

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# LanguageC# Language

Panithan Chandrapatya

47541263

Page 2: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

AgendaAgenda

• C# History• C# Goals• C# Fixes• C# Contribution• C# Features• C# Success• C# Example

Page 3: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# HistoryC# History

• C# was submitted to European Computer Manufacturers Association (ECMA) standards group in mid-2000 by Microsoft Corporation.

• Leaded development by Anders Hejlsberg

Page 4: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# GoalsC# Goals

• To be a simple, modern, general-purpose, object-oriented programming language.

• To be suitable for writing applications for both hosted and embedded systems, in every function sizes.

• To be economical with regards to memory and processing power requirements.

Page 5: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# FixesC# Fixes

Because software robustness, durability and programmer productivity are important.

The language should include strong type checking, array bounds checking, detection of attempts to use un-initialized variables, source code portability, and automatic garbage collection.

Page 6: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# ContributionC# Contribution

• C# contributed the “Interface”, “property”, “indexer”, “delegate” and other modern concepts become really motivated for an already educated student and it leads him to quicker and easier mastering.

• C# allows easily introduce Windows programming Event-driven paradigm confirms studied ideas of modern OOP.

Page 7: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# FeaturesC# Features

• Pointers are missing in C#.• Unsafe operations such as direct memory manipulation

are not allowed.• No usage of “::” or “->” operators.• Automatic memory management and garbage collection. • Varying ranges of the primitive types like Integer, Floats

etc. • Integer values of 0 and 1 are no longer accepted as

Boolean values. Boolean values are pure true or false values in C# so no more errors of "="operator and "=="operator. "==" is used for comparison operation and "=" is used for assignment operation.

Page 8: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# SuccessC# Success

Page 9: C# Language Panithan Chandrapatya 47541263. Agenda C# History C# Goals C# Fixes C# Contribution C# Features C# Success C# Example

C# ExampleC# Example