Thirumalai Engineering College
Department of Computer Science & Engineering
Programming in C#
1
Prepared by M. Srinivasan, M.C.A,P.G.D.C.A
Unit I
1. Introduction to .NET
Before .NET
The C# programming language was designed for developing programs for Microsoft’s .NET Framework. This
chapter will take a brief look at where .NET came from, and its basic architecture. Just to make sure you’re starting on
the right foot, let me take this opportunity to remind you of what is hopefully the obvious: C# sharp is pronounced
Windows Programming in the Late 1990s
In the late 1990s, Windows programming using the Microsoft platform had fractured into a number of
branches. Most programmers were using Visual Basic (VB), C, or C++. Some C and C++ programmers were using
the raw Win32 API, but most C++ programmers were using MFC (Microsoft Foundation Classes). Others had moved
to COM (the Component Object Model). All these technologies had their own problems. The raw Win32 API was not
object oriented, and using it required a lot more work than MFC. MFC was object-oriented, but it was inconsistent and
getting old. COM, although conceptually simple, was complex in its actual coding, and required lots of ugly, inelegant
plumbing. Another shortcoming of all these programming technologies was that they were aimed primarily at
developing code for the desktop rather than the Internet. At the time, programming for the Web was an afterthought
and seemed very different from coding for the desktop.
Enter Microsoft .NET
In 2002, Microsoft released the .NET Framework, which promised to address the old problems and meet the
goals for the next-generation system. The .NET Framework is a much more consistent and object-oriented
environment than either the MFC or COM programming technologies. Some of its features include the following:
Multiple platforms: The system runs on a broad range of computers, from servers and desktop machines to
PDAs and cell phones.
Industry... [continues]
Department of Computer Science & Engineering
Programming in C#
1
Prepared by M. Srinivasan, M.C.A,P.G.D.C.A
Unit I
1. Introduction to .NET
Before .NET
The C# programming language was designed for developing programs for Microsoft’s .NET Framework. This
chapter will take a brief look at where .NET came from, and its basic architecture. Just to make sure you’re starting on
the right foot, let me take this opportunity to remind you of what is hopefully the obvious: C# sharp is pronounced
Windows Programming in the Late 1990s
In the late 1990s, Windows programming using the Microsoft platform had fractured into a number of
branches. Most programmers were using Visual Basic (VB), C, or C++. Some C and C++ programmers were using
the raw Win32 API, but most C++ programmers were using MFC (Microsoft Foundation Classes). Others had moved
to COM (the Component Object Model). All these technologies had their own problems. The raw Win32 API was not
object oriented, and using it required a lot more work than MFC. MFC was object-oriented, but it was inconsistent and
getting old. COM, although conceptually simple, was complex in its actual coding, and required lots of ugly, inelegant
plumbing. Another shortcoming of all these programming technologies was that they were aimed primarily at
developing code for the desktop rather than the Internet. At the time, programming for the Web was an afterthought
and seemed very different from coding for the desktop.
Enter Microsoft .NET
In 2002, Microsoft released the .NET Framework, which promised to address the old problems and meet the
goals for the next-generation system. The .NET Framework is a much more consistent and object-oriented
environment than either the MFC or COM programming technologies. Some of its features include the following:
Multiple platforms: The system runs on a broad range of computers, from servers and desktop machines to
PDAs and cell phones.
Industry... [continues]
Cite This Essay
- APA
-
(2010, 10). Simple C# with Example Programing and Introduction to .Net. StudyMode.com. Retrieved 10, 2010, from http://www.studymode.com/essays/Simple-C-With-Example-Programing-And-449641.html
- MLA
-
"Simple C# with Example Programing and Introduction to .Net" StudyMode.com. 10 2010. 10 2010 <http://www.studymode.com/essays/Simple-C-With-Example-Programing-And-449641.html>.
- CHICAGO
-
"Simple C# with Example Programing and Introduction to .Net." StudyMode.com. 10, 2010. Accessed 10, 2010. http://www.studymode.com/essays/Simple-C-With-Example-Programing-And-449641.html.