06CS761 PPTs Chapter I
06CS761 PPTs Chapter I
Deshpande
Lecturer, CSE@KLS.GIT
[L 2].
7. Explain the CTS and CLR [L 2].
8. Discuss Common Language Specification [L 2].
9. Write CLS compliant code [L 5].
10. Deploy the .NET runtime [L 3].
Programmer
Life As a Java/J2EE Programmer
Life As a COM Programmer
Life As a Windows DNA Programmer
language
MFC- C++ Framework provides set of
experience
logic
Integrated code wizards, Intrinsic data types,
classes and VB-centric functions
Not fully object oriented
No classical inheritance
No support for parameterized class
construction
No support for multithreaded applications
code
Complete and total language
integration
A common runtime engine shared
by all .NET-aware languages
A base class library
No more COM plumbing
A truly simplified deployment model
Figure 1.1: The CLR, CTS, CLS and base class library
relationship
programming techniques
Full support for aspect-oriented
programming (AOP) techniques
An Overview of .NET
Assemblies
Instructions
just-in-time compiler or jitter
Jitter for handheld device low memory environment
Jitter for Backend server high memory environment
(methods, properties)
System.ValueType
Assignment to a variable of a struct type creates a
copy of the value being assigned
The default value of a struct is the value produced by
setting all value type fields to their default values and
all reference type fields to null
Boxing and unboxing operations are used to convert
between a struct type and object
The meaning of this is different for structs
A struct is not permitted to declare a parameterless
instance constructor
A struct is not permitted to declare a destructor
References
1] Andrew Troelsen, Pro C#with.NET 3.0, SpecialEdition,
Dream tech Press, India, 2007.
2]E. Balagurusamy, Programming in C#, 5thReprint, Tata
McGraw Hill,
2004(For Programming Examples).
3] Tom Archer, Inside C#, WP Publishers, 2001.
4]Herbert Schildt,C#: The Complete Reference, TMH, 2004.
5] Yashavant Kanetkar, C#.NET fundas, First Edition, BPB
Publications,
2002
Contact Me
Email: gcdeshpande@git.edu
gcdeshpande@hotmail.com
Blog: gcdeshpande.spaces.live.com
Follow on twitter:
www.twitter.com/gcdeshpande