SlideShare a Scribd company logo
1 of 14
What is a C#?
 C# (pronounced "C-sharp") is an object-oriented
 programming language from Microsoft.

 That aims to combine the computing power
 of C++ with the programming ease of Visual Basic.

 C# is based on C++ and contains features similar to
 those of Java.
Evaluation of C#
   1967   BCPL            B



                   C


                  C++


                 ANSI C


                  OAK
                              1996
                                         C#
                  JAVA        ANSI C++
Evaluation of C#
                 C
                                VB




                 C++



             COMPOUND
             ORIENTATION
   JAVA
                           C#
Logo of Microsoft Visual C#




Categories of develop
 C# is used to develop two main categories of programs
  namely,
 Executable application programs and
 Component libraries
C# COMPONENTS
C# contains many different components, including:
 Versioning support, so that the base and derived classes-
  templates that define how an object performs and it remain
  compatible as we develop them.
 Events, so that the program can notify clients of a class
  about something that has happened to an object.
 Type safety and verification that increases reliability and
  ensures code security.
 Garbage collection, so that the program can identify
  objects that program can no longer reach.
 Unsafe mode, where it can use pointers to manipulate
  memory outside the garbage collector’s control, including
  methods and properties.
Windows application in C#
              • Design environment:
                                                    Solution explorer
                  Menus




                          Form
                                     Code editor




    Toolbar

                                             Properties/events
                          messages           window
Difference between Windows &
Console application in C#
Windows application              Console application
 The windows application has     But the console application is
  the design time form             not having any design time
 It is like VB due to the         form
  presence of the design time     It is like C or C++ due to the
  form                             absence of the design time
 The output will be displayed     form
  in the Run time form as like    The output will be displayed
  VB                               in the Command Prompt
Sample program
                     Class name

         Field

     Method

Method body
Static Method
Local variable
                            Method parameters


Method invocation
CLASS:
 A class is a template that defines the form of an object.
Fields:
 A fields (i.e) which are objects or values contained in
  a class or structure.
Methods:
 A method is a code block containing a series of statements.
 In C#, every executed instruction is done so in the context
  of a method.
Method parameters:
 The Method Parameters are nothing but they simply allow
  information to be passed into and out of a method.
Method Invocation:
 Method Invocation is nothing but calling the calling
  the method for another time.
Local variable:
 A local variable is a type of variable that can be used
  where the scope and extent of the variable is within
  the method or statement block in which it is declared.
Static method:
 Static methods have no instances. They are called
  with the type name.
 They are slightly faster than instance methods because
  of this, Static methods can be public or private.
APPLICATIONS OF C#
 This Visual C# was used for variety of application that
    are supported by the .Net plat forms, such as
   It is used for developing Console applications and
    Windows applications.
   It is used for developing Windows controls
   It is used for developing ASP.NET projects
   It is used for developing web controls
   It is used for providing web services
   It is used for developing .NET component library
Major Highlights of C#
 It is the Brand new language derived from C/C++
    family.
   It is the First Compound Oriented
    Programming(COP) Language.
   It Simplifies & modernizes the C++.
   It is the only COP language available today.
   It is the only language designed for the .Net frame
    work.
Presented by
K.GOKUL RAM
      DITPTC
    PSG TECH

More Related Content

What's hot

Spring core module
Spring core moduleSpring core module
Spring core moduleRaj Tomar
 
Swift Tutorial Part 1. The Complete Guide For Swift Programming Language
Swift Tutorial Part 1. The Complete Guide For Swift Programming LanguageSwift Tutorial Part 1. The Complete Guide For Swift Programming Language
Swift Tutorial Part 1. The Complete Guide For Swift Programming LanguageHossam Ghareeb
 
Kotlin presentation
Kotlin presentation Kotlin presentation
Kotlin presentation MobileAcademy
 
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#Hawkman Academy
 
Java multi threading
Java multi threadingJava multi threading
Java multi threadingRaja Sekhar
 
Java Presentation
Java PresentationJava Presentation
Java PresentationAmr Salah
 
Kotlin Language powerpoint show file
Kotlin Language powerpoint show fileKotlin Language powerpoint show file
Kotlin Language powerpoint show fileSaurabh Tripathi
 
C# Exceptions Handling
C# Exceptions Handling C# Exceptions Handling
C# Exceptions Handling sharqiyem
 
Introduction to java
Introduction to java Introduction to java
Introduction to java Java Lover
 
Spring boot - an introduction
Spring boot - an introductionSpring boot - an introduction
Spring boot - an introductionJonathan Holloway
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring FrameworkHùng Nguyễn Huy
 
Java spring framework
Java spring frameworkJava spring framework
Java spring frameworkRajiv Gupta
 
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...Edureka!
 

What's hot (20)

Spring core module
Spring core moduleSpring core module
Spring core module
 
Spring ppt
Spring pptSpring ppt
Spring ppt
 
C sharp
C sharpC sharp
C sharp
 
Swift Tutorial Part 1. The Complete Guide For Swift Programming Language
Swift Tutorial Part 1. The Complete Guide For Swift Programming LanguageSwift Tutorial Part 1. The Complete Guide For Swift Programming Language
Swift Tutorial Part 1. The Complete Guide For Swift Programming Language
 
Testing Angular
Testing AngularTesting Angular
Testing Angular
 
Kotlin presentation
Kotlin presentation Kotlin presentation
Kotlin presentation
 
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#
 
Java multi threading
Java multi threadingJava multi threading
Java multi threading
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Angular
AngularAngular
Angular
 
Kotlin Language powerpoint show file
Kotlin Language powerpoint show fileKotlin Language powerpoint show file
Kotlin Language powerpoint show file
 
C# Exceptions Handling
C# Exceptions Handling C# Exceptions Handling
C# Exceptions Handling
 
Introduction to spring boot
Introduction to spring bootIntroduction to spring boot
Introduction to spring boot
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Spring boot - an introduction
Spring boot - an introductionSpring boot - an introduction
Spring boot - an introduction
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Java spring framework
Java spring frameworkJava spring framework
Java spring framework
 
Angular overview
Angular overviewAngular overview
Angular overview
 
Introduction to Qt
Introduction to QtIntroduction to Qt
Introduction to Qt
 
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
Swift Tutorial For Beginners | Swift Programming Tutorial | IOS App Developme...
 

Viewers also liked

XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
XAML Development with Xamarin  - Jesse Liberty | FalafelCON 2014XAML Development with Xamarin  - Jesse Liberty | FalafelCON 2014
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014FalafelSoftware
 
Formation C# & XAML
Formation C# & XAML Formation C# & XAML
Formation C# & XAML Hiba GHADHAB
 
Comparing xaml and html
Comparing xaml and htmlComparing xaml and html
Comparing xaml and htmlKevin DeRudder
 
Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Kevin DeRudder
 
UFMCO_STRATEGIC_CONVERSATION_FINAL[1]
UFMCO_STRATEGIC_CONVERSATION_FINAL[1]UFMCO_STRATEGIC_CONVERSATION_FINAL[1]
UFMCO_STRATEGIC_CONVERSATION_FINAL[1]Ian van Vuuren
 
UXD / DNA - DesignMap, Inc.
UXD / DNA - DesignMap, Inc.UXD / DNA - DesignMap, Inc.
UXD / DNA - DesignMap, Inc.DesignMap
 
El clima: factors i elements.
El clima: factors i elements.El clima: factors i elements.
El clima: factors i elements.coloprimaria
 
كيفية إدماج شريط فيديو في تدوينتك
كيفية إدماج شريط فيديو في تدوينتككيفية إدماج شريط فيديو في تدوينتك
كيفية إدماج شريط فيديو في تدوينتكHadia Dixseptfévrier
 
Supreet swaran's grid
Supreet swaran's gridSupreet swaran's grid
Supreet swaran's gridSupreet Singh
 
Brm assignment prashant,shubham and shalini keshote.
Brm assignment prashant,shubham and shalini keshote.Brm assignment prashant,shubham and shalini keshote.
Brm assignment prashant,shubham and shalini keshote.Shubham Garg
 
About softtonix.com
About softtonix.comAbout softtonix.com
About softtonix.comAloke Saha
 
Evaluation - Question 4
Evaluation - Question 4Evaluation - Question 4
Evaluation - Question 4Loz94
 

Viewers also liked (20)

C sharp chap1
C sharp chap1C sharp chap1
C sharp chap1
 
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
XAML Development with Xamarin  - Jesse Liberty | FalafelCON 2014XAML Development with Xamarin  - Jesse Liberty | FalafelCON 2014
XAML Development with Xamarin - Jesse Liberty | FalafelCON 2014
 
Formation C# & XAML
Formation C# & XAML Formation C# & XAML
Formation C# & XAML
 
Comparing xaml and html
Comparing xaml and htmlComparing xaml and html
Comparing xaml and html
 
Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$Build your own Cloud/Home security system for 60$
Build your own Cloud/Home security system for 60$
 
Formation VB.NET
Formation VB.NETFormation VB.NET
Formation VB.NET
 
C#
C#C#
C#
 
UFMCO_STRATEGIC_CONVERSATION_FINAL[1]
UFMCO_STRATEGIC_CONVERSATION_FINAL[1]UFMCO_STRATEGIC_CONVERSATION_FINAL[1]
UFMCO_STRATEGIC_CONVERSATION_FINAL[1]
 
UXD / DNA - DesignMap, Inc.
UXD / DNA - DesignMap, Inc.UXD / DNA - DesignMap, Inc.
UXD / DNA - DesignMap, Inc.
 
El clima: factors i elements.
El clima: factors i elements.El clima: factors i elements.
El clima: factors i elements.
 
FM DOCTRINE
FM DOCTRINEFM DOCTRINE
FM DOCTRINE
 
إنشاء المدونة
إنشاء المدونةإنشاء المدونة
إنشاء المدونة
 
كيفية إدماج شريط فيديو في تدوينتك
كيفية إدماج شريط فيديو في تدوينتككيفية إدماج شريط فيديو في تدوينتك
كيفية إدماج شريط فيديو في تدوينتك
 
Kd green avenue
Kd green avenueKd green avenue
Kd green avenue
 
Gulawali Plots power point
Gulawali Plots power pointGulawali Plots power point
Gulawali Plots power point
 
Supreet swaran's grid
Supreet swaran's gridSupreet swaran's grid
Supreet swaran's grid
 
Brm assignment prashant,shubham and shalini keshote.
Brm assignment prashant,shubham and shalini keshote.Brm assignment prashant,shubham and shalini keshote.
Brm assignment prashant,shubham and shalini keshote.
 
About softtonix.com
About softtonix.comAbout softtonix.com
About softtonix.com
 
Evaluation - Question 4
Evaluation - Question 4Evaluation - Question 4
Evaluation - Question 4
 
Log
LogLog
Log
 

Similar to C# (20)

21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
 
Event Driven Programming in C#.docx
Event Driven Programming in C#.docxEvent Driven Programming in C#.docx
Event Driven Programming in C#.docx
 
Programming with c#
Programming with c#Programming with c#
Programming with c#
 
Programming in c#
Programming in c#Programming in c#
Programming in c#
 
C# handout.docx
C# handout.docxC# handout.docx
C# handout.docx
 
Presentation1
Presentation1Presentation1
Presentation1
 
C# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net FrameworkC# lecture 1: Introduction to Dot Net Framework
C# lecture 1: Introduction to Dot Net Framework
 
Intro to c# (vs. objective c and java)
Intro to c# (vs. objective c and java)Intro to c# (vs. objective c and java)
Intro to c# (vs. objective c and java)
 
Intro to c# (vs. objective c and java)
Intro to c# (vs. objective c and java)Intro to c# (vs. objective c and java)
Intro to c# (vs. objective c and java)
 
Oops index
Oops indexOops index
Oops index
 
C# chap 1
C# chap 1C# chap 1
C# chap 1
 
Part 1
Part 1Part 1
Part 1
 
Microsoft C# programming basics
Microsoft C# programming basics  Microsoft C# programming basics
Microsoft C# programming basics
 
Csc153 chapter 01
Csc153 chapter 01Csc153 chapter 01
Csc153 chapter 01
 
Introduction to C# Programming
Introduction to C# ProgrammingIntroduction to C# Programming
Introduction to C# Programming
 
C#
C#C#
C#
 
programming in c#.ppt
programming in c#.pptprogramming in c#.ppt
programming in c#.ppt
 
C# tutorial
C# tutorialC# tutorial
C# tutorial
 
Migrating From Cpp To C Sharp
Migrating From Cpp To C SharpMigrating From Cpp To C Sharp
Migrating From Cpp To C Sharp
 
C#.NET
C#.NETC#.NET
C#.NET
 

Recently uploaded

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

C#

  • 1.
  • 2. What is a C#?  C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft.  That aims to combine the computing power of C++ with the programming ease of Visual Basic.  C# is based on C++ and contains features similar to those of Java.
  • 3. Evaluation of C# 1967 BCPL B C C++ ANSI C OAK 1996 C# JAVA ANSI C++
  • 4. Evaluation of C# C VB C++ COMPOUND ORIENTATION JAVA C#
  • 5. Logo of Microsoft Visual C# Categories of develop  C# is used to develop two main categories of programs namely,  Executable application programs and  Component libraries
  • 6. C# COMPONENTS C# contains many different components, including:  Versioning support, so that the base and derived classes- templates that define how an object performs and it remain compatible as we develop them.  Events, so that the program can notify clients of a class about something that has happened to an object.  Type safety and verification that increases reliability and ensures code security.  Garbage collection, so that the program can identify objects that program can no longer reach.  Unsafe mode, where it can use pointers to manipulate memory outside the garbage collector’s control, including methods and properties.
  • 7. Windows application in C# • Design environment: Solution explorer Menus Form Code editor Toolbar Properties/events messages window
  • 8. Difference between Windows & Console application in C# Windows application Console application  The windows application has  But the console application is the design time form not having any design time  It is like VB due to the form presence of the design time  It is like C or C++ due to the form absence of the design time  The output will be displayed form in the Run time form as like  The output will be displayed VB in the Command Prompt
  • 9. Sample program Class name Field Method Method body Static Method Local variable Method parameters Method invocation
  • 10. CLASS:  A class is a template that defines the form of an object. Fields:  A fields (i.e) which are objects or values contained in a class or structure. Methods:  A method is a code block containing a series of statements.  In C#, every executed instruction is done so in the context of a method. Method parameters:  The Method Parameters are nothing but they simply allow information to be passed into and out of a method.
  • 11. Method Invocation:  Method Invocation is nothing but calling the calling the method for another time. Local variable:  A local variable is a type of variable that can be used where the scope and extent of the variable is within the method or statement block in which it is declared. Static method:  Static methods have no instances. They are called with the type name.  They are slightly faster than instance methods because of this, Static methods can be public or private.
  • 12. APPLICATIONS OF C#  This Visual C# was used for variety of application that are supported by the .Net plat forms, such as  It is used for developing Console applications and Windows applications.  It is used for developing Windows controls  It is used for developing ASP.NET projects  It is used for developing web controls  It is used for providing web services  It is used for developing .NET component library
  • 13. Major Highlights of C#  It is the Brand new language derived from C/C++ family.  It is the First Compound Oriented Programming(COP) Language.  It Simplifies & modernizes the C++.  It is the only COP language available today.  It is the only language designed for the .Net frame work.
  • 14. Presented by K.GOKUL RAM DITPTC PSG TECH