2. contents
• w is C#?
hat
• where did it com from
e ?
• w does it all m
hat ean?
• w does it look like?
hat
• w to get som
ant e?
A presentation by
3. w is C#?
hat
C# is a m ulti-paradigm program ing language that encom
m passes
functional, im perative, generic, and object-oriented
program ing disciplines
m
developed by Microsoft as a part of the .NET fram ork and later
ew
approved as a standard by ECM and ISO
A
intended to be simple, modern, general purpose, object oriented
program ing language
m
suitable for writing apps for both hosted and embedded systems
uses W standards like XM and Sim Object Access Protocol
eb L ple
(SOAP) which allow developers to build on, rather than
s
duplicate, the skills of other program ers
m
A presentation by
4. w is C#?
hat
4 de s ig n g o als in mind whe n de ve lo pe d :
“ create a unified type system and sim
to plifying the w that value
ay
and reference types are used by the language
a component-based design established through features such as
XM com ents, attributes, properties, events and delegates.
L m
practical developer headroom established through the unique
capabilities of the C# language, including safe pointer
m anipulation, overflowchecking, and m ore
pragm atic language constructs, such as the fore ach and us ing
statem ents, which improve developer productivity”
A presentation by
5. where did it com from
e ?
started as a language called COOL but was
renam C# w
ed hen .NET w publicly
as
announced in July 2000
lead architect is Anders Hejlsberg w w
ho as
involved w Visual J++. Borland Delphi. and
ith
Turbo Pascal
Influenced by Object Pascal, C++, Modula-3, Java,
Eiffel
A presentation by
6. w does it all m
hat ean?
features
all methods and m bers m be declared w
em ust ithin classes
C# supports a strict Boolean type
m object access is done through safe references w
ost hich
cannot be made invalid
managed m ory cannot be explicitly freed but is
em
automatically garbage collected which addresses
m ory leaks
em
m type safe than C++
ore
Currently has 77 reserved words
A presentation by
7. w does it look like?
hat
examples
http://msdn.microsoft.com/en-us/library/z9hsy596.aspx
A presentation by
8. w to get som
ant e?
hello@momentumdesignlab.com
1.866.542.7124
A presentation by