AGENDA
Microsoft .NET Platform and Visual Studio
.NET Framework
Introduction to C#
OOPS component of C#
Assemblies and Modules
Sample Applications
.NET PLATFORM
.NET
OOP JVM
GUI
Web
component-based
design n-tier design
Influential Factors
VISUAL STUDIO=>”EVERYTHING INCLUDING IDE”
.NET FRAMEWORK
E
X
E
C
U
T
I
O
N
CODE CONVERSION
C#
 Developed specifically for .NET
 Enable programmers to migrate from C/C++ and Java easily
 Event-driven, fully OO, visual programming language
 Process of rapidly creating an application using an IDE is called Rapid Application Development
(RAD)
 Language Interoperability and Reusability
 Windows Desktop, Windows Phone and Web Application & Services
C# COMPONENTS
Namespaces
Classes
Methods and Properties
Delegates and Event Handler
Interfaces
Exception Handling
Data Types
Arrays
DATA TYPES
C# Type .NET Framework type
bool System.Boolean
byte System.Byte
sbyte System.SByte
char System.Char
decimal System.Decimal
double System.Double
float System.Single
int System.Int32
uint System.UInt32
long System.Int64
ulong System.UInt64
object System.Object
short System.Int16
ushort System.UInt16
string System.String
ARRAY
Declaration
 int[] table; //not int table[]
 int[] number;
number=new int[10];
number=new int[20];
 Single Dimensional Arrays : int[] numbers;
 Multi Dimensional Arrays : int[,] numbers;
 Jagged Arrays : int[][] numbers;
ASSEMBLIES
A logical collection of one or more EXEs and DLLs containing an application’s code and resources
It contains
 Codes in MSIL
 Manifest (A metadata description of the code and resources)
C sharp

C sharp