Introduction C#            tnngo2@gmail.com
Pitfalls of C/C++       Difficult for beginners to learn       Cannot test code until it is compiled       Difficult to de...
Need for a New Language      Simple, powerful tool for building interoperable, scalable, robust      applications.      Co...
Purpose of C#      .NET Framework is a massive expandable library.      C# is a high level language which let programmers ...
Why .NET?     Application architecture has changed.     INTERNET world     Compete JAVA
Why .NET?     Bill toilet
.Net Framework     Language-neutral component library              Code Modules                       Organized           ...
.Net Framework Components     Common Language Runtime (CLR)            Memory management            Code execution        ...
Architecture of .NET Framework
Other components of .NET Framework
Other components of .NET Framework     Common Language Specification (CLS)            set of rules that any .NET language ...
Microsoft Intermediate Language (MSIL)      The code written in a .NET compatible language is compiled, the      output co...
Common Language Runtime (CLR)     When a code is executed for the first time, the MSIL code is     converted to a code nat...
Basic features of C#      Object-oriented      Type-safety Checking              | Uninitialized variables cannot be used....
Applications of C#      Gaming applications      Large-scale enterprise applications      Mobile applications for pocket P...
Advantages of C#      Cross Language Support      Common Internet Protocols              XML, SOAP      Simple Deployment ...
Memory Management     In C, C++, the allocation and de-allocation of memory is done     manually. It is time-consuming and...
Garbage Collection      Automatic memory management is done with the help of a garbage      collector      Garbage collect...
Visual Studio 2010      Visual Studio 2010 Ultimate      Visual Studio 2010 Premium      Visual Studio 2010 Professional  ...
Visual Studio 2010 Comparison
Upcoming SlideShare
Loading in …5
×

1 get started with c#

688 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
688
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

1 get started with c#

  1. 1. Introduction C# tnngo2@gmail.com
  2. 2. Pitfalls of C/C++ Difficult for beginners to learn Cannot test code until it is compiled Difficult to debug without expensive debugging tools Takes longer time to develop Database connectivity is complicated Problems in modification of data Difficulty in implementation Do not contain any framework
  3. 3. Need for a New Language Simple, powerful tool for building interoperable, scalable, robust applications. Complete object-oriented architecture powerful component-oriented development Allow access to many features previously available only in C++ Familiarity to programmers coming from C or C++ Write application target both desktop and mobile.
  4. 4. Purpose of C# .NET Framework is a massive expandable library. C# is a high level language which let programmers focus on the main problem rather than dealing with things like portability, serialization … C# provides a simple, efficient, productive, object-oriented language.
  5. 5. Why .NET? Application architecture has changed. INTERNET world Compete JAVA
  6. 6. Why .NET? Bill toilet
  7. 7. .Net Framework Language-neutral component library Code Modules Organized Specialized Execution environment CTS CLR Provide consistent object-oriented programming environment Minimize software deployment and versioning conflicts by providing a code- execution environment Promote safe execution of code by providing a code-execution environment Provides a consistent developer experience across varying types of application such as Window-based app and Web-based app.
  8. 8. .Net Framework Components Common Language Runtime (CLR) Memory management Code execution Error handling Code safety verification Garbage collection .NET Framework Class Library (FCL) comprehensive object-oriented collection of reusable type.
  9. 9. Architecture of .NET Framework
  10. 10. Other components of .NET Framework
  11. 11. Other components of .NET Framework Common Language Specification (CLS) set of rules that any .NET language should follow to create application that are interoperable with other languages Common Type System (CTS) describes how data types are declared
  12. 12. Microsoft Intermediate Language (MSIL) The code written in a .NET compatible language is compiled, the output code is in the form of MSIL. MSIL is composed of a specific set of instructions that indicate how the code should be executed
  13. 13. Common Language Runtime (CLR) When a code is executed for the first time, the MSIL code is converted to a code native to the operating system. This is done at runtime by the Just-In-Time (JIT) compiler in CLR. CLR is virtual machine component that is used to convert the MSIL code to the machine language code.
  14. 14. Basic features of C# Object-oriented Type-safety Checking | Uninitialized variables cannot be used. Garbage Collection Standardization by ECMA (European Computer Manufacturers) Generic Types and Methods
  15. 15. Applications of C# Gaming applications Large-scale enterprise applications Mobile applications for pocket PCs, PDAs and cell phones Simple standalone desktop applications such as Library Management Complex distributed applications
  16. 16. Advantages of C# Cross Language Support Common Internet Protocols XML, SOAP Simple Deployment A assembly is self-describing collection of code and resource XML Documentation Comments can be place in XML format and then used to document the code.
  17. 17. Memory Management In C, C++, the allocation and de-allocation of memory is done manually. It is time-consuming and difficult. The C# language provides the feature of allocating and releasing memory using automatic memory management. No need to write code to allocate or to release memory. Increase the code quality and enhances the performance and the productivity.
  18. 18. Garbage Collection Automatic memory management is done with the help of a garbage collector Garbage collection is the automatic reclaiming of memory from objects that are no longer in scope. Two steps: - Determine which obj will not be access in the future. - Reclaim the storage used by those.
  19. 19. Visual Studio 2010 Visual Studio 2010 Ultimate Visual Studio 2010 Premium Visual Studio 2010 Professional Visual Studio 2010 Express Products Visual Studio Team Foundation Server 2010
  20. 20. Visual Studio 2010 Comparison

×