SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (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...
 

Destacado

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
 
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
 
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
 
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
 

Destacado (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...
 

Similar a C# Introduction: A Concise Overview of the C# Programming Language

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
 
Net framework
Net frameworkNet framework
Net frameworkjhsri
 
Introdot Netc Sharp En
Introdot Netc Sharp EnIntrodot Netc Sharp En
Introdot Netc Sharp EnGregory Renard
 
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
 

Similar a C# Introduction: A Concise Overview of the C# Programming Language (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
 

Más de 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
 
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
 

Más de 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
 

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
🐬 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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

C# Introduction: A Concise Overview of the C# Programming Language

  • 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