[go: up one dir, main page]

0% found this document useful (0 votes)
5 views21 pages

01-C Sharp Introduction

The document outlines a C# programming course led by instructor Ajmal Rahmati, who has extensive qualifications in computer science and software development. It covers the fundamentals of C#, including its history, application types, and the principles of object-oriented programming (OOP). The agenda includes an introduction to C#, the evolution of OOP, and the reasons for using OOP in modern programming.

Uploaded by

kbahadorzai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views21 pages

01-C Sharp Introduction

The document outlines a C# programming course led by instructor Ajmal Rahmati, who has extensive qualifications in computer science and software development. It covers the fundamentals of C#, including its history, application types, and the principles of object-oriented programming (OOP). The agenda includes an introduction to C#, the evolution of OOP, and the reasons for using OOP in modern programming.

Uploaded by

kbahadorzai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Subject: C Sharp Programming

Instructor : Ajmal Rahmati

Qualifications

 BCS
 MCS
 Sql Server Certify
 MCITP
 CCNA

 University Lecturer
 Software Developer

ajmalrahmati1@gmail.com Ajmal Rahmati 0779649697


Agenda

01 Introduction to C Sharp

02 C# App Type

03 The History of OOP

04 Why We Use OOP


INTRODUCTION
C SHARP
What is C#?
C# (pronounced "see sharp" or "C Sharp") is one of many

.NET programming languages. It is object-oriented and

allows you to build reusable components for a wide variety

of application types.

Microsoft introduced C# on June 26th, 2000 and it be-

came

a v1.0 product on Feb 13th 2002.

C# is an evolution of the C and C++ family of languages.


What is C#?
However, it borrows features from other programming

languages, such as Delphi and Java.

If you look at the most basic syntax of both C# and Java,

the code looks very similar, but then again, the code looks

a lot like C++ too, which is intentional.


How Does a C# Application Run?
• An important point is that C# is a "managed" language, mean-
ing that it requires the .NET Common Language
runtime (CLR) to execute.

• Essentially, as an application that is written in C# executes, the


CLR is managing memory, performing garbage collection,
handling exceptions, and providing many more services that
you, as a developer, don't have to write code for.

• The C# compiler produces Intermediate Language (IL) , rather


than machine language, and the CLR understands IL. When
the CLR sees the IL, it Just-In-Time (JIT) compiles it, method
by method, into compiled machine code in memory and
executes it. As mention previously, the CLR manages the code
Versions .NET Framework

• C# 1.0 - introduced 2000 / released January 2002

o Visual Studio .NET (2002)

• C# 1.1 - released April 2003

o Visual Studio .NET 2003

• C# 2.0 - released November 2005

o Visual Studio .NET 2005

• C# 3.0 - released November 2007

o Visual Studio .NET 2008

• C# 4.0 - released April 2012

o Visual Studio .NET 2010

o C# 4.5 Visual Studio .NET 2012


Microsoft Visual Studio is an integrated development environment from
Microsoft. It is used to develop computer programs, as well as websites,
web apps, web services and mobile apps
Types of C# Application

• Desktop applications

• Web applications

• Console applications

• Mobile applications

• XML Web Services


Desktop App
A Windows form in C# application is one that runs on the
desktop of a computer. Visual Studio Form along with C#
can be used to create a Windows Forms application. Controls
can be added to the Windows forms C# via the Toolbox in Visual
Studio. Controls such as labels, checkboxes, radio buttons, etc.
Web App
Microsoft. ASP.NET is an open-source,
server-side web-application framework designed
for web development to produce dynamic web
pages. It was developed by Microsoft to allow
programmers to build dynamic web sites,
applications and services.
Console App

A console application is a program designed


to be used via a text-only computer interface,
such as a text terminal, the command line
interface of some operating systems or the
text-based interface.
Mobile App Multimedia App

A mobile application, also referred


to as a mobile app or simply an
app, is a computer program or
software application designed to Education App
run on a mobile device such as a
phone, tablet, or watch.

Utilization
XML App

Extensible Markup Language (XML) is a


markup language that defines a set of rules
for encoding documents in a format that is
both human-readable and machine-readable.
It is a textual data format with strong support
via Unicode for different human languages.
OOP
The History of OOP

• OOP concepts started surfacing in the mid-1960s with a programming language called Simula.

• In the mid-1980s there was a resurgence of interest in object-oriented methodologies.

• Specifically, OOP languages such as C++ and Eiffel became popular with mainstream computer programmers.

• OOP continued to grow in popularity in the 1990s, most notably with the advent of Java and the huge following it at -

tracted.

• And in 2002, in conjunction with the release of the .NET Framework, Microsoft introduced a new OOP language, C#

(pronounced C-sharp) and revamped their widely popular existing language, Visual Basic, so that it is now truly object

oriented. Today OOP languages continue to flourish and are a mainstay of modern programming.
Why Use OOP

• Why has OOP developed into such a widely used paradigm for solving business problems today? During the 1970s

and 1980s, procedure-oriented programming languages such as C, Pascal, and Fortran were widely used to develop

business-oriented software systems.

• Procedural languages organize the program in a linear fashion they run from top to bottom.

• In other words, the program is a series of steps that run one after another.

• This type of programming worked fine for small programs that consisted of a few hundred code lines, but as programs

became larger they became hard to manage and debug


Why Use OOP

• In an attempt to manage the ever-increasing size of the programs, structured

programming was introduced to break down the code into manageable segments

Called functions or procedures. This was an improvement, but as programs

performed more complex business functionality and interacted with other systems

,the Following shortcomings of structural programming began to surface:


Why Use OOP

• a more intuitive transition from business-analysis models to software-implementation models

• the ability to maintain and implement changes in the programs more efficiently and rapidly

• the ability to create software systems more effectively using a team process, allowing specialists to work

on parts of the system

• the ability to reuse code components in other programs and purchase components written by third-party developers to

increase the functionality of existing programs with little effort

• better integration with loosely coupled distributed-computing systems

• improved integration with modern operating systems

• the ability to create a more intuitive graphical-user interface for the users
‫‪Questions‬‬

‫‪You can ask your question‬‬

‫‪Thought of Day‬‬
‫موفقیت یعنی حرکت از شکستی به شکست دیگر بدون از‬
‫دست دادن اشتیاق‬
Thank you

You might also like