0% found this document useful (0 votes)
51 views10 pages

Csi C

C# is an object-oriented programming language developed by Microsoft for building web applications. It was designed to simplify and modernize C++ while also allowing component-oriented development. C# is suited for creating robust, reliable programs to handle real-world applications. It is the primary language used to code the .NET framework. C# aims to overcome limitations of C++ and Java by retaining powerful C++ features while adding elegance, simplicity, consistency and interoperability.
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)
51 views10 pages

Csi C

C# is an object-oriented programming language developed by Microsoft for building web applications. It was designed to simplify and modernize C++ while also allowing component-oriented development. C# is suited for creating robust, reliable programs to handle real-world applications. It is the primary language used to code the .NET framework. C# aims to overcome limitations of C++ and Java by retaining powerful C++ features while adding elegance, simplicity, consistency and interoperability.
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/ 10

OVERVIEW OF C#

by BOYA HARIKRISHNA
16FH1A0509
What is C# ?
❖It is Computer Programming language developed by
Maicrosoft corporation , USA
❖It is fully object-oriented language
❖Suitable for developing web based applications
❖Designed for developing robust , reliable & durable
components to handle real-world application
Highlights of C# :
❖Derived from C/C++ family
❖It simolifies & modernsizes C++
❖It is component oriented language
❖It is language designed for the .NET framework
❖ Major parts of .NET framework are actually coded in
C#
Why C# ?
❖The primary motivation while developing
any language is concern that it able to
handle the increasing complexity of
programs that are robust , durable &
maintainable.
History of major languages developed is following :
Martin Richards Ken Thompson
1967 Bpcl B 1970

1972 C Dennis Ritchie

1983 C++ Bjarne Strousstrup

1987 ANSI C ANSI Committe

1991 Oak James Gostling

1995 JAVA Sun MicroSystems

1996 ANSI C++ ANSI Committe

2000 C# Maicrosoft
Overcomes of C#
❖ C&C++ languages suffer from a number of comings in meeting
world wide web requiremnts & standards
• The high complexity of language & not truly object oriented & not support
versioning and weak in consistency
❖ Java which is truly object- oriented has not retained some
powerful C++ features such as operator overloading.
❖ Java also lacks inter-operability with code developed in other
languages.
❖ Microsoft therefore decided to design a new language.
❖ The result is C#, a simple & modern language that directly
addresses the needs of component-based software
development.
C

Object
Oriented

C++

Component
orientation

JAVA C# VB
Elegance
Productivity

C# is a descendant of C++ which in turn is a descendant of


C as illustrated bellow:
Characteristics of C#
❖ SIMPLE
❖ Consistent
❖ Modern
❖ Object-oriented
❖ Type-Safe
❖ Version able
❖ Compatible
❖ InterOperatable
❖ Flexible
A Sample C# Program :
class SampleOne
{
public static void Main()
{
System.Console.WriteLine(“C# is sharper than C++”);
}
}
Executing the program
▪ Save the above file with SampleOne.cs
▪ name Compile as : csc SampleOne.cs
▪ C# compiler compiles your code and create an executable file by name SampleOne.exe
▪ For executing the program, simply type in the name of the executable file at the command prompt.
By HARIKRISHNA

You might also like