SlideShare a Scribd company logo
5
Most read
6
Most read
10
Most read
INTRODUCTION TO C#
PROGRAMING
ITEC102: Fundamentals of Programming
Introduction
C# is a multi-paradigm programming language
encompassing strong typing, imperative, declarative,
functional, generic, object-oriented (class-based), and
component-oriented programming disciplines.
Its development team is led by Anders Hejlsberg.
The most recent version is C# 7.3, which was released in
2018 alongsideVisual Studio 2017 version 15.7.2.
History
 During the development of the .NET Framework, the class libraries were
originally written using a managed code compiler system called Simple
Managed C (SMC).
 In January 1999, Anders Hejlsberg formed a team to build a new
language at the time called Cool, which stood for "C-like Object Oriented
Language".
 Microsoft had considered keeping the name "Cool" as the final name of
the language, but chose not to do so for trademark reasons.
 By the time the .NET project was publicly announced at the July 2000
Professional Developers Conference, the language had been renamed
C#, and the class libraries and ASP.NET runtime had been ported to C#.
History
The name "C sharp" was inspired by the musical notation
where a sharp indicates that the written note should be
made a semitone higher in pitch.
This is similar to the language name of C++, where "++"
indicates that a variable should be incremented by 1 after
being evaluated.
The sharp symbol also resembles a ligature of four "+"
symbols (in a two-by-two grid), further implying that the
language is an increment of C++.
The C# Programming Language
C# is a modern object-oriented, general-purpose
programming language, created and developed by
Microsoft together with the .NET platform.
C# is a high-level language that is similar to Java and
C++ and, to some extent, languages like Delphi,VB.NET
and C.
The C# Programming Language
C# is one of the most popular programming
languages.
C# language is distributed together with a special
environment on which it is executed, called the
Common Language Runtime (CLR).
The Microsoft .NET Framework
C# language is not distributed as a standalone
product – it is a part of the Microsoft .NET Framework
platform (pronounced "Microsoft dot net framework").
.NET Framework generally consists of an environment
for the development and execution of programs, written
in C# or some other language, compatible with .NET
(likeVB.NET, Managed C++, J# or F#).
The Microsoft .NET Framework
It consists of:
 .NET programming languages (C#,VB.NET and others);
 an environment for the execution of managed code (CLR), which
executes C# programs in a controlled manner;
The Microsoft .NET Framework
It consists of:
 a set of development tools, such as the csc compiler, which turns
C# programs into intermediate code (called MSIL) that the CLR
can understand;
 a set of standard libraries, like ADO.NET, which allow access to
databases (such as MS SQL Server or MySQL) and WCF which
connects applications through standard communication
frameworks and protocols like HTTP, REST, JSON, SOAP andTCP
sockets.
Why C#?
a modern programming language
widely spread
used by millions of programmers around the entire
world
Why C#?
very simple and easy to learn
suitable for beginners while still widely used in the
industry by many large companies
one of the most popular programming languages
nowadays
Types of Application
The product of the C# compiler is called the “Assembly”
It’s either a “.dll” or a “.exe” file. Both run on the
Common Language Runtime and are different from
native code that may also end with a “.exe” extension.
C# has two basic types of application
Windows Form Application
This is GUI based, runs in a window of some sort
Console Application
This application runs in the command prompt
Types
A. Value
1. Variable name contains the actual value
2. int, double and other primitive types
3. Structure, Enumeration, etc.
B. Reference
1. Variable name contains the reference or pointer to the actual
value in memory
2. Array, derived from class Array
3. Class, Interface, Delegate, String, etc.
Where to write/create codes …?
Integrated Development Environment (IDE) for the
development and testing of software
Visual Studio
NetBeans
Eclipse
SharpDevelop
SharpDevelop 5.1.x #develop
#develop (short for SharpDevelop) is a free IDE for C#,
VB.NET and Boo projects on Microsoft's .NET platform.
It is open-source, and you can download both source
code and executables from this site:
http://www.icsharpcode.net/OpenSource/SD/Default.aspx
Introduction to C# Programming
SharpDevelop 5.1.x #develop
Introduction to C# Programming
Introduction to C# Programming
Introduction to C# Programming

More Related Content

PDF
Share CONTEMPORARY GLOBAL GOVERNANCE ( GROUP 4)_2.pdf
PPTX
JOSE RIZAL: TRIAL, EXECUTION AND MARTYRDOM
PPTX
AN INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
PPT
C#.NET
PPTX
C# programming language
PPTX
Internet Technology
PPT
PPTX
What is Coding
Share CONTEMPORARY GLOBAL GOVERNANCE ( GROUP 4)_2.pdf
JOSE RIZAL: TRIAL, EXECUTION AND MARTYRDOM
AN INTRODUCTION TO MOBILE APPLICATION DEVELOPMENT
C#.NET
C# programming language
Internet Technology
What is Coding

What's hot (20)

PPT
Introduction to .NET Framework
PPTX
C# 101: Intro to Programming with C#
PPSX
Introduction to .net framework
PDF
Object-oriented Programming-with C#
PPTX
CSharp Presentation
PPTX
Visual Programming
PPTX
Inheritance in java
PPTX
Introduction to c programming
PPT
FUNCTIONS IN c++ PPT
PDF
Introduction to Design Pattern
PPTX
C# in depth
PPTX
Programming in C Presentation upto FILE
PPTX
interface in c#
PPTX
C# lecture 2: Literals , Variables and Data Types in C#
PPT
Web Application Introduction
PPT
Introduction To C#
PDF
Oops concepts || Object Oriented Programming Concepts in Java
PPT
Architecture of .net framework
PPTX
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
Introduction to .NET Framework
C# 101: Intro to Programming with C#
Introduction to .net framework
Object-oriented Programming-with C#
CSharp Presentation
Visual Programming
Inheritance in java
Introduction to c programming
FUNCTIONS IN c++ PPT
Introduction to Design Pattern
C# in depth
Programming in C Presentation upto FILE
interface in c#
C# lecture 2: Literals , Variables and Data Types in C#
Web Application Introduction
Introduction To C#
Oops concepts || Object Oriented Programming Concepts in Java
Architecture of .net framework
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
Ad

Similar to Introduction to C# Programming (20)

PPTX
Chapter-1 C#.pptx
DOCX
all languages in computer programming
DOCX
Event Driven Programming in C#.docx
DOCX
C# handout.docx
PDF
Introduction to Computer Programming (general background)
DOCX
What is c#
PPT
Introduction to C# Language and Applications.ppt
PDF
Dot net
PDF
Advance C# Programming Part 1.pdf
PPTX
Advance C# Programming Part 1.pptx
PPT
programming in c#.ppt
PPTX
02 intro to programming in .net (part 2)
PPTX
Session#1 csharp MTCS
PPT
Why C is Called Structured Programming Language
PPT
DOCX
What is C.docx
PPTX
c# usage,applications and advantages
PPTX
Components of .NET Framework
Chapter-1 C#.pptx
all languages in computer programming
Event Driven Programming in C#.docx
C# handout.docx
Introduction to Computer Programming (general background)
What is c#
Introduction to C# Language and Applications.ppt
Dot net
Advance C# Programming Part 1.pdf
Advance C# Programming Part 1.pptx
programming in c#.ppt
02 intro to programming in .net (part 2)
Session#1 csharp MTCS
Why C is Called Structured Programming Language
What is C.docx
c# usage,applications and advantages
Components of .NET Framework
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Getting Started with Data Integration: FME Form 101
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
1. Introduction to Computer Programming.pptx
Programs and apps: productivity, graphics, security and other tools
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
20250228 LYD VKU AI Blended-Learning.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation theory and applications.pdf
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Empathic Computing: Creating Shared Understanding
Getting Started with Data Integration: FME Form 101
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Building Integrated photovoltaic BIPV_UPV.pdf
Tartificialntelligence_presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...

Introduction to C# Programming

  • 1. INTRODUCTION TO C# PROGRAMING ITEC102: Fundamentals of Programming
  • 2. Introduction C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. Its development team is led by Anders Hejlsberg. The most recent version is C# 7.3, which was released in 2018 alongsideVisual Studio 2017 version 15.7.2.
  • 3. History  During the development of the .NET Framework, the class libraries were originally written using a managed code compiler system called Simple Managed C (SMC).  In January 1999, Anders Hejlsberg formed a team to build a new language at the time called Cool, which stood for "C-like Object Oriented Language".  Microsoft had considered keeping the name "Cool" as the final name of the language, but chose not to do so for trademark reasons.  By the time the .NET project was publicly announced at the July 2000 Professional Developers Conference, the language had been renamed C#, and the class libraries and ASP.NET runtime had been ported to C#.
  • 4. History The name "C sharp" was inspired by the musical notation where a sharp indicates that the written note should be made a semitone higher in pitch. This is similar to the language name of C++, where "++" indicates that a variable should be incremented by 1 after being evaluated. The sharp symbol also resembles a ligature of four "+" symbols (in a two-by-two grid), further implying that the language is an increment of C++.
  • 5. The C# Programming Language C# is a modern object-oriented, general-purpose programming language, created and developed by Microsoft together with the .NET platform. C# is a high-level language that is similar to Java and C++ and, to some extent, languages like Delphi,VB.NET and C.
  • 6. The C# Programming Language C# is one of the most popular programming languages. C# language is distributed together with a special environment on which it is executed, called the Common Language Runtime (CLR).
  • 7. The Microsoft .NET Framework C# language is not distributed as a standalone product – it is a part of the Microsoft .NET Framework platform (pronounced "Microsoft dot net framework"). .NET Framework generally consists of an environment for the development and execution of programs, written in C# or some other language, compatible with .NET (likeVB.NET, Managed C++, J# or F#).
  • 8. The Microsoft .NET Framework It consists of:  .NET programming languages (C#,VB.NET and others);  an environment for the execution of managed code (CLR), which executes C# programs in a controlled manner;
  • 9. The Microsoft .NET Framework It consists of:  a set of development tools, such as the csc compiler, which turns C# programs into intermediate code (called MSIL) that the CLR can understand;  a set of standard libraries, like ADO.NET, which allow access to databases (such as MS SQL Server or MySQL) and WCF which connects applications through standard communication frameworks and protocols like HTTP, REST, JSON, SOAP andTCP sockets.
  • 10. Why C#? a modern programming language widely spread used by millions of programmers around the entire world
  • 11. Why C#? very simple and easy to learn suitable for beginners while still widely used in the industry by many large companies one of the most popular programming languages nowadays
  • 12. Types of Application The product of the C# compiler is called the “Assembly” It’s either a “.dll” or a “.exe” file. Both run on the Common Language Runtime and are different from native code that may also end with a “.exe” extension.
  • 13. C# has two basic types of application Windows Form Application This is GUI based, runs in a window of some sort Console Application This application runs in the command prompt
  • 14. Types A. Value 1. Variable name contains the actual value 2. int, double and other primitive types 3. Structure, Enumeration, etc. B. Reference 1. Variable name contains the reference or pointer to the actual value in memory 2. Array, derived from class Array 3. Class, Interface, Delegate, String, etc.
  • 15. Where to write/create codes …? Integrated Development Environment (IDE) for the development and testing of software Visual Studio NetBeans Eclipse SharpDevelop
  • 16. SharpDevelop 5.1.x #develop #develop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform. It is open-source, and you can download both source code and executables from this site: http://www.icsharpcode.net/OpenSource/SD/Default.aspx

Editor's Notes

  • #3: Anders Hejlsberg a prominent Danish software engineer who co-designed several popular and commercially successful programming languages and development tools the original author of Turbo Pascal and the chief architect of Delphi he currently works for Microsoft as the lead architect of C# and core developer on TypeScript.
  • #5: Ligature means something that is use to bind
  • #6: C# is a modern object-oriented, general-purpose programming language, created and developed by Microsoft together with the .NET platform. There is highly diverse software developed with C# and on the .NET platform: office applications, web applications, websites, desktop applications, mobile applications, games and many others. C# is a high-level language that is similar to Java and C++ and, to some extent, languages like Delphi, VB.NET and C. All C# programs are object-oriented. They consist of a set of definitions in classes that contain methods and the methods contain the program logic – the instructions which the computer executes. You will find out more details on what a class, a method and C# programs
  • #7: Nowadays C# is one of the most popular programming languages. It is used by millions of developers worldwide. Because C# is developed by Microsoft as part of their modern platform for development and execution of applications, the .NET Framework, the language is widely spread among Microsoft-oriented companies, organizations and individual developers. For better or for worse, as of this book writing, the C# language and the .NET platform are maintained and managed entirely by Microsoft and are not open to third parties. Because of this, all other large software corporations like IBM, Oracle and SAP base their solutions on the Java platform and use Java as their primary language for developing their own software products. The C# language is distributed together with a special environment on which it is executed, called the Common Language Runtime (CLR). This environment is part of the platform .NET Framework, which includes CLR, a bundle of standard libraries providing basic functionality, compilers, debuggers and other development tools. Thanks to the framework CLR programs are portable and, once written they can function with little or no changes on various hardware platforms and operating systems. C# programs are most commonly run on MS Windows, but the .NET Framework and CLR also support mobile phones and other portable devices based on Windows Mobile, Windows Phone and Windows 8. C# programs can still be run under Linux, FreeBSD, iOS, Android, MacOS X and other operating systems through the free .NET Framework implementation Mono, which, however, is not officially supported by Microsoft.
  • #10: MSIL - Microsoft Intermediate Language csc – C Sharp Compiler ADO.NET - ActiveX Data Object.NET