Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

.NET and C# Introduction

Basic of C# and .NET Framework

  • Login to see the comments

.NET and C# Introduction

  1. 1. AGENDA• Microsoft .NET Platform and Visual Studio• .NET Framework• Introduction to C#• OOPS component of C#• Assemblies and Modules• Sample Applications
  2. 2. .NET PlatformInfluential Factors OOP JVM GUI .NET Web component-based design n-tier design
  3. 3. Visual Studio=>”Everything including IDE”
  4. 4. .NET Framework
  5. 5. EXECUTION
  6. 6. Code Conversion
  7. 7. 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
  8. 8. C# Components• Namespaces• Classes• Methods and Properties• Delegates and Event Handler• Interfaces• Exception Handling• Data Types• Arrays
  9. 9. Data Types C# Type .NET Framework typebool System.Booleanbyte System.Bytesbyte System.SBytechar System.Chardecimal System.Decimaldouble System.Doublefloat System.Singleint System.Int32uint System.UInt32long System.Int64ulong System.UInt64object System.Objectshort System.Int16ushort System.UInt16string System.String
  10. 10. 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;
  11. 11. 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)
  12. 12. THANK YOU

×