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

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 

Último (20)

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 

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