UNIT_2
UNIT_2
Name Spaces
Constructor and Destructors
Function Overloading & Inheritance
Operator Overloading
Modifiers - Property and Indexers
Attributes & Reflection API
When to use Console Applications
Generating Console Output, Processing Console
Input
27-01-2016 Prepared by Mittal Rayjada 2
C# is a modern, general-purpose, object-
oriented programming language developed by
Microsoft and approved by European
Computer Manufacturers Association
(ECMA) and International Standards
Organization (ISO).
C# was developed by Anders Hejlsberg and
his team during the development of .Net
Framework.
27-01-2016 Prepared by Mittal Rayjada 3
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 on
different computer platforms and
architectures.
C# is pronounced as CSharp.
The extension of the csharp files are.cs
REFERENCE
VALUE TYPES PONTER TYPES
TYPE
IMPLICIT EXPLICIT
<variable_name> =value
E.g.
int d = 3, f = 5;
byte z = 22;
double pi = 3.14159;
char x = 'x';
27-01-2016 Prepared by Mittal Rayjada 43
27-01-2016 Prepared by Mittal Rayjada 44
a=10,b=20,c=30