Professional Documents
Culture Documents
Chapter 1: Introduction: The Evolution From C To C#
Chapter 1: Introduction: The Evolution From C To C#
Introduction
The Evolution from C to C#
Dot Net Platform
Platforms provide environments for development and execution
of programs
Two “largest” platforms out there today is Microsoft .Net and
Java
– Both provide similar executable modules that rely on an “interpreter”
at execution time, but in different ways
.Net runs only on Microsoft Windows devices,
– but there are many front end languages that can be used to generate the
“Common Intermediate Language” (CIL).
– Only one IDE is available
Java provides only the Java programming language,
– Open Source (although now owned by Oracle)
Android Law Suite
– Multiple IDEs that all pretty much try to do the same thing.
– The resulting “bytecodes” can be used on several different operating
systems
Main Objective of .Net Platform
Provide component based support for Web Applications, Web
Services and Windows Application.
– Classes are self-describing and reusable
One would compile a program to an object file, and then
link the object files into an executable
Same subroutine was compiled and placed into EXE over and over.
(Each EXE would have a copy)
Concept of DLL (Dynamic Link Library) introduced
Separate pre-compiled routines that could be called from main
programs to do work
Was a mess with the way it was managed usually resulting in multiple
DLLs on a machine that did the same thing, but different version.
Main Objective of .Net Platform
Execution system JVM (Java Virtual CLR (Command Language Run Time)
Machine)
Class library Java class libraries FCL (Framework Class Library(
Web programming API servlets, JSP (Java ASP.NET Web Forms, ASP.NET MVC
Server Pages), JSF (Model View Controller)
(Java Server Faces)
GUI programming API AWT, Swing, JavaFX Windows Forms, Windows
(latter has RIA (rich Presentation Foundation
internet app) (latter has RIA support)
support)
.NET Other Languages