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

PPTX
C sharp
PPT
Introduction To C#
PPTX
C# classes objects
PPTX
Introduction to Visual Basic 6.0 Fundamentals
PPTX
C# Tutorial
PPTX
C# in depth
PPTX
C# programming language
PPTX
C# 101: Intro to Programming with C#
C sharp
Introduction To C#
C# classes objects
Introduction to Visual Basic 6.0 Fundamentals
C# Tutorial
C# in depth
C# programming language
C# 101: Intro to Programming with C#

What's hot (20)

PPT
PPTX
CSharp Presentation
PPT
7.data types in c#
PPT
Introduction to VB.net
PPT
Day 4: Android: UI Widgets
PPT
Nakov - .NET Framework Overview - English
PPTX
Exception handling in ASP .NET
PPTX
Components of .NET Framework
PDF
VB PPT by ADI PART3.pdf
PPT
C# basics
PPTX
Android UI
PPT
Ch 3 event driven programming
PPTX
Presentation on "An Introduction to ReactJS"
PPT
C# Exceptions Handling
PDF
Angular - Chapter 2 - TypeScript Programming
PPTX
JavaFX Presentation
PPTX
Lecture 1 introduction to vb.net
PDF
ReactJS.pdf
PPT
PPTX
System Programing Unit 1
CSharp Presentation
7.data types in c#
Introduction to VB.net
Day 4: Android: UI Widgets
Nakov - .NET Framework Overview - English
Exception handling in ASP .NET
Components of .NET Framework
VB PPT by ADI PART3.pdf
C# basics
Android UI
Ch 3 event driven programming
Presentation on "An Introduction to ReactJS"
C# Exceptions Handling
Angular - Chapter 2 - TypeScript Programming
JavaFX Presentation
Lecture 1 introduction to vb.net
ReactJS.pdf
System Programing Unit 1
Ad

Viewers also liked (20)

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

Similar to C# (20)

PDF
21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
DOCX
Event Driven Programming in C#.docx
PPT
Programming with c#
PPT
Programming in c#
DOCX
C# handout.docx
PPTX
Presentation1
PPTX
C# lecture 1: Introduction to Dot Net Framework
PDF
Intro to c# (vs. objective c and java)
PDF
Intro to c# (vs. objective c and java)
PDF
Oops index
PDF
PDF
PPSX
Microsoft C# programming basics
PDF
[Ebooks PDF] download C Package 100 Knock 1 Hour Mastery Series 2024 Edition ...
PDF
C Package 100 Knock 1 Hour Mastery Series 2024 Edition text version Tenko dow...
PPT
Csc153 chapter 01
 
PPT
Introduction to C# Language and Applications.ppt
PPTX
Introduction to C# Programming
PPT
programming in c#.ppt
21UCAC61 C# and .Net Programming.pdf(MTNC)(BCA)
Event Driven Programming in C#.docx
Programming with c#
Programming in c#
C# handout.docx
Presentation1
C# lecture 1: Introduction to Dot Net Framework
Intro to c# (vs. objective c and java)
Intro to c# (vs. objective c and java)
Oops index
Microsoft C# programming basics
[Ebooks PDF] download C Package 100 Knock 1 Hour Mastery Series 2024 Edition ...
C Package 100 Knock 1 Hour Mastery Series 2024 Edition text version Tenko dow...
Csc153 chapter 01
 
Introduction to C# Language and Applications.ppt
Introduction to C# Programming
programming in c#.ppt

Recently uploaded (20)

PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
My India Quiz Book_20210205121199924.pdf
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
20th Century Theater, Methods, History.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
History, Philosophy and sociology of education (1).pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Computer Architecture Input Output Memory.pptx
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
My India Quiz Book_20210205121199924.pdf
AI-driven educational solutions for real-life interventions in the Philippine...
FORM 1 BIOLOGY MIND MAPS and their schemes
Hazard Identification & Risk Assessment .pdf
20th Century Theater, Methods, History.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
What if we spent less time fighting change, and more time building what’s rig...
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS

C#

  • 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