SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Introduction C#


            tnngo2@gmail.com
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
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.
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.
Why .NET?

     Application architecture has changed.



     INTERNET world

     Compete JAVA
Why .NET?

     Bill toilet
.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.
.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.
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 should follow to create
            application that are interoperable with other languages

     Common Type System (CTS)
            describes how data types are declared
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
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.
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
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
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.
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.
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.
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
Visual Studio 2010 Comparison

Weitere Àhnliche Inhalte

Was ist angesagt?

Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clrSanSan149
 
Csharp dot net
Csharp dot netCsharp dot net
Csharp dot netEkam Baram
 
Overview of .Net Framework 4.5
Overview of .Net Framework 4.5Overview of .Net Framework 4.5
Overview of .Net Framework 4.5Bhushan Mulmule
 
02 intro to programming in .net (part 2)
02   intro to programming in .net (part 2)02   intro to programming in .net (part 2)
02 intro to programming in .net (part 2)Felisha Hosein
 
Introduction .NET Framework
Introduction .NET FrameworkIntroduction .NET Framework
Introduction .NET Frameworkjavadib
 
Net Fundamentals
Net FundamentalsNet Fundamentals
Net FundamentalsAli Taki
 
Presentation1
Presentation1Presentation1
Presentation1kpkcsc
 
.Net framework
.Net framework.Net framework
.Net frameworkViv EK
 
Java vs .net
Java vs .netJava vs .net
Java vs .netTech_MX
 
.Net overview
.Net overview.Net overview
.Net overviewmadydud
 
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)citizenmatt
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overviewFaisal Aziz
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word documentSIVAJISADHANA
 
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...yazad dumasia
 

Was ist angesagt? (18)

Common language runtime clr
Common language runtime clrCommon language runtime clr
Common language runtime clr
 
.Net
.Net.Net
.Net
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
Csharp dot net
Csharp dot netCsharp dot net
Csharp dot net
 
Overview of .Net Framework 4.5
Overview of .Net Framework 4.5Overview of .Net Framework 4.5
Overview of .Net Framework 4.5
 
02 intro to programming in .net (part 2)
02   intro to programming in .net (part 2)02   intro to programming in .net (part 2)
02 intro to programming in .net (part 2)
 
Introduction .NET Framework
Introduction .NET FrameworkIntroduction .NET Framework
Introduction .NET Framework
 
Introducation to C#
Introducation to C#Introducation to C#
Introducation to C#
 
Net Fundamentals
Net FundamentalsNet Fundamentals
Net Fundamentals
 
Presentation1
Presentation1Presentation1
Presentation1
 
.Net framework
.Net framework.Net framework
.Net framework
 
Java vs .net
Java vs .netJava vs .net
Java vs .net
 
.Net overview
.Net overview.Net overview
.Net overview
 
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
The how-dare-you-call-me-an-idiot’s guide to the .NET Standard (NDC London 2017)
 
Modified.net overview
Modified.net overviewModified.net overview
Modified.net overview
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
 
Net framework
Net frameworkNet framework
Net framework
 
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
 

Andere mochten auch

Anexo 12 pc 66707 alimentação (1)
Anexo 12   pc 66707 alimentação (1)Anexo 12   pc 66707 alimentação (1)
Anexo 12 pc 66707 alimentação (1)Miguel Rosario
 
Compiler design file
Compiler design fileCompiler design file
Compiler design fileUrvashi Tyagi
 
АюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДО
АюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДОАюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДО
АюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы ĐąĐ ĐĐ”ĐžĐ•Đ»Đ”ĐœĐ° ĐšĐ°Đ»ŃŒĐœĐŸĐČĐ°
 
Bronte, hardy
Bronte, hardyBronte, hardy
Bronte, hardyms_faris
 
09 searching[1]
09 searching[1]09 searching[1]
09 searching[1]Kamal Shrish
 
Kudavi happy valentines day
Kudavi happy valentines dayKudavi happy valentines day
Kudavi happy valentines dayTom Currier
 
Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...
Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...
Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...Wayne Dunn
 
How 2 write proposal 1- 6
How 2 write proposal 1- 6How 2 write proposal 1- 6
How 2 write proposal 1- 6Adham Yousef
 
Aef4 16
Aef4 16Aef4 16
Aef4 16Les Davy
 
Friends United Ministries 2011
Friends United Ministries 2011Friends United Ministries 2011
Friends United Ministries 2011Kelly Kellum
 
The Changing Resource Development Paradigm: Maximizing Sustainable Local Be...
The Changing Resource Development Paradigm:   Maximizing Sustainable Local Be...The Changing Resource Development Paradigm:   Maximizing Sustainable Local Be...
The Changing Resource Development Paradigm: Maximizing Sustainable Local Be...Wayne Dunn
 
Pemrograman berbasis Objek
Pemrograman berbasis ObjekPemrograman berbasis Objek
Pemrograman berbasis ObjekRobby Firmansyah
 
Studio appartment in taj expressway 7428424386
Studio appartment in taj expressway 7428424386Studio appartment in taj expressway 7428424386
Studio appartment in taj expressway 7428424386Adore Global Pvt. Ltd
 
1 21
1 211 21
1 21Les Davy
 
Looking for the best Marketing of 2013? Well, it's not in here...
Looking for the best Marketing of 2013? Well, it's not in here...Looking for the best Marketing of 2013? Well, it's not in here...
Looking for the best Marketing of 2013? Well, it's not in here...Carmichael Billingsley
 

Andere mochten auch (20)

Anexo 12 pc 66707 alimentação (1)
Anexo 12   pc 66707 alimentação (1)Anexo 12   pc 66707 alimentação (1)
Anexo 12 pc 66707 alimentação (1)
 
Compiler design file
Compiler design fileCompiler design file
Compiler design file
 
АюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДО
АюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДОАюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДО
АюрĐČДЎОчДсĐșОД ĐșĐŸĐŒĐżĐ»Đ”Đșсы бРАДО
 
РДспОблОсс ŃĐžŃ€ĐŸĐż
РДспОблОсс ŃĐžŃ€ĐŸĐżĐ Đ”ŃĐżĐžĐ±Đ»ĐžŃŃ ŃĐžŃ€ĐŸĐż
РДспОблОсс ŃĐžŃ€ĐŸĐż
 
Bronte, hardy
Bronte, hardyBronte, hardy
Bronte, hardy
 
09 searching[1]
09 searching[1]09 searching[1]
09 searching[1]
 
Kudavi happy valentines day
Kudavi happy valentines dayKudavi happy valentines day
Kudavi happy valentines day
 
Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...
Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...
Stepping Towards Self Sufficiency: An Indigenous Economic Development Plan fo...
 
How 2 write proposal 1- 6
How 2 write proposal 1- 6How 2 write proposal 1- 6
How 2 write proposal 1- 6
 
Aef4 16
Aef4 16Aef4 16
Aef4 16
 
How to Search Twitter
How to Search TwitterHow to Search Twitter
How to Search Twitter
 
Friends United Ministries 2011
Friends United Ministries 2011Friends United Ministries 2011
Friends United Ministries 2011
 
The Changing Resource Development Paradigm: Maximizing Sustainable Local Be...
The Changing Resource Development Paradigm:   Maximizing Sustainable Local Be...The Changing Resource Development Paradigm:   Maximizing Sustainable Local Be...
The Changing Resource Development Paradigm: Maximizing Sustainable Local Be...
 
affTA02 - BAB II
affTA02 - BAB IIaffTA02 - BAB II
affTA02 - BAB II
 
Pemrograman berbasis Objek
Pemrograman berbasis ObjekPemrograman berbasis Objek
Pemrograman berbasis Objek
 
Software development company
Software development companySoftware development company
Software development company
 
Studio appartment in taj expressway 7428424386
Studio appartment in taj expressway 7428424386Studio appartment in taj expressway 7428424386
Studio appartment in taj expressway 7428424386
 
affTA10 - LampiranB
affTA10 - LampiranBaffTA10 - LampiranB
affTA10 - LampiranB
 
1 21
1 211 21
1 21
 
Looking for the best Marketing of 2013? Well, it's not in here...
Looking for the best Marketing of 2013? Well, it's not in here...Looking for the best Marketing of 2013? Well, it's not in here...
Looking for the best Marketing of 2013? Well, it's not in here...
 

Ähnlich wie 1 get started with c#

Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net frameworkArun Prasad
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1Sisir Ghosh
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsQUONTRASOLUTIONS
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsQuontra Solutions
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net frameworkInstantenigma
 
dot net technology
dot net technologydot net technology
dot net technologyImran Khan
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Netvidyamittal
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.netsuraj pandey
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And componentssyedArr
 
Dot net
Dot netDot net
Dot netpublic
 
Net framework
Net frameworkNet framework
Net frameworkjhsri
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp EnGregory Renard
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.NetVishwa Mohan
 
Introductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarIntroductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarPriyankaPinglikar
 
programming in c#.ppt
programming in c#.pptprogramming in c#.ppt
programming in c#.pptNalinaKumari2
 

Ähnlich wie 1 get started with c# (20)

Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
ASP.NET Session 1
ASP.NET Session 1ASP.NET Session 1
ASP.NET Session 1
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutions
 
Introduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutionsIntroduction to .net FrameWork by QuontraSolutions
Introduction to .net FrameWork by QuontraSolutions
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 
dot net technology
dot net technologydot net technology
dot net technology
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
.Net Framwork Architecture And components
.Net Framwork Architecture And components.Net Framwork Architecture And components
.Net Framwork Architecture And components
 
Unit6
Unit6Unit6
Unit6
 
Dot net
Dot netDot net
Dot net
 
Net framework
Net frameworkNet framework
Net framework
 
1 what is microsoft .net framework
1 what is microsoft .net framework1 what is microsoft .net framework
1 what is microsoft .net framework
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp En
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
Introductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka PinglikarIntroductionto .netframework by Priyanka Pinglikar
Introductionto .netframework by Priyanka Pinglikar
 
1.0
1.01.0
1.0
 
.Net overview
.Net overview.Net overview
.Net overview
 
programming in c#.ppt
programming in c#.pptprogramming in c#.ppt
programming in c#.ppt
 

Mehr von Tuan Ngo

Introduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 enIntroduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 enTuan Ngo
 
Net framework
Net frameworkNet framework
Net frameworkTuan Ngo
 
15 anonymous methods, partial types and nullable types
15   anonymous methods, partial types and nullable types15   anonymous methods, partial types and nullable types
15 anonymous methods, partial types and nullable typesTuan Ngo
 
14 generics and iterators
14   generics and iterators14   generics and iterators
14 generics and iteratorsTuan Ngo
 
13 collections
13   collections13   collections
13 collectionsTuan Ngo
 
11 exception handling
11   exception handling11   exception handling
11 exception handlingTuan Ngo
 
12 events and delegates
12   events and delegates12   events and delegates
12 events and delegatesTuan Ngo
 
9 properties & indexers
9   properties & indexers9   properties & indexers
9 properties & indexersTuan Ngo
 
10 namespace
10  namespace10  namespace
10 namespaceTuan Ngo
 
8 abstract classes and interfaces
8   abstract classes and interfaces 8   abstract classes and interfaces
8 abstract classes and interfaces Tuan Ngo
 
7 inheritance and polymorphism
7   inheritance and polymorphism7   inheritance and polymorphism
7 inheritance and polymorphismTuan Ngo
 
5 arrays
5   arrays5   arrays
5 arraysTuan Ngo
 
6 class and methods
6    class and methods6    class and methods
6 class and methodsTuan Ngo
 
3 statements and operators
3   statements and operators3   statements and operators
3 statements and operatorsTuan Ngo
 
4 c# programming constructs
4   c# programming constructs4   c# programming constructs
4 c# programming constructsTuan Ngo
 
2 variables and data types
2   variables and data types2   variables and data types
2 variables and data typesTuan Ngo
 
Jdbc 7
Jdbc 7Jdbc 7
Jdbc 7Tuan Ngo
 
Jdbc 6
Jdbc 6Jdbc 6
Jdbc 6Tuan Ngo
 
Jdbc 3
Jdbc 3Jdbc 3
Jdbc 3Tuan Ngo
 
Jdbc 2
Jdbc 2Jdbc 2
Jdbc 2Tuan Ngo
 

Mehr von Tuan Ngo (20)

Introduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 enIntroduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 en
 
Net framework
Net frameworkNet framework
Net framework
 
15 anonymous methods, partial types and nullable types
15   anonymous methods, partial types and nullable types15   anonymous methods, partial types and nullable types
15 anonymous methods, partial types and nullable types
 
14 generics and iterators
14   generics and iterators14   generics and iterators
14 generics and iterators
 
13 collections
13   collections13   collections
13 collections
 
11 exception handling
11   exception handling11   exception handling
11 exception handling
 
12 events and delegates
12   events and delegates12   events and delegates
12 events and delegates
 
9 properties & indexers
9   properties & indexers9   properties & indexers
9 properties & indexers
 
10 namespace
10  namespace10  namespace
10 namespace
 
8 abstract classes and interfaces
8   abstract classes and interfaces 8   abstract classes and interfaces
8 abstract classes and interfaces
 
7 inheritance and polymorphism
7   inheritance and polymorphism7   inheritance and polymorphism
7 inheritance and polymorphism
 
5 arrays
5   arrays5   arrays
5 arrays
 
6 class and methods
6    class and methods6    class and methods
6 class and methods
 
3 statements and operators
3   statements and operators3   statements and operators
3 statements and operators
 
4 c# programming constructs
4   c# programming constructs4   c# programming constructs
4 c# programming constructs
 
2 variables and data types
2   variables and data types2   variables and data types
2 variables and data types
 
Jdbc 7
Jdbc 7Jdbc 7
Jdbc 7
 
Jdbc 6
Jdbc 6Jdbc 6
Jdbc 6
 
Jdbc 3
Jdbc 3Jdbc 3
Jdbc 3
 
Jdbc 2
Jdbc 2Jdbc 2
Jdbc 2
 

KĂŒrzlich hochgeladen

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

KĂŒrzlich hochgeladen (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

1 get started with c#

  • 1. Introduction C# tnngo2@gmail.com
  • 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. 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. 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. Why .NET? Application architecture has changed. INTERNET world Compete JAVA
  • 6. Why .NET? Bill toilet
  • 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. .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.
  • 10. Other components of .NET Framework
  • 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. 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. 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. 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. 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. 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. 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. 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. 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. Visual Studio 2010 Comparison