0% found this document useful (0 votes)
61 views

Frank Mccown Techlunch Old Dominion University March 28, 2007

The document introduces .NET framework, which was first developed by Microsoft in 2000. It targets primarily Windows but can also run on Linux, Unix and Mac OS through Mono. The main languages used for .NET are C#, VB.NET, C++/CLI and J#. Source code in .NET languages get compiled into an intermediate language called CIL, which then gets executed by the Common Language Runtime (CLR). It also provides a brief comparison between .NET languages and Java, and includes helpful resources for further information.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

Frank Mccown Techlunch Old Dominion University March 28, 2007

The document introduces .NET framework, which was first developed by Microsoft in 2000. It targets primarily Windows but can also run on Linux, Unix and Mac OS through Mono. The main languages used for .NET are C#, VB.NET, C++/CLI and J#. Source code in .NET languages get compiled into an intermediate language called CIL, which then gets executed by the Common Language Runtime (CLR). It also provides a brief comparison between .NET languages and Java, and includes helpful resources for further information.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Introduction to .

NET
Frank McCown
TechLunch
Old Dominion University
March 28, 2007
Before .NET
 Windows GUI development: Win32 API,
MFC, Visual Basic
 Web development: ASP
 Java – “Write once, run anywhere.”
 Embrace and extend: Visual J++
.NET Framework
 First developed by Microsoft in 2000
 Current version (3.0) released in Nov 2006
 Targets primarily Windows OS, but Mono
Project (headed by Novell) supports Linux,
Unix, FreeBSD, Mac OS X, Solaris
 Primary languages: C#, Visual Basic
.NET, C++/CLI, and J#
 Third-party languages: Ada, COBOL,
LISP, Perl, Ruby, and many more
http://en.wikipedia.org/wiki/Image:Overview_of_the_Common_Language_Infrastructure.png
Comparison to Java

compile execute
Hello.java Hello.class JVM

Source code Byte code

compile execute
Hello.vb Hello.exe CLR

Source code CIL


Hello, VB.NET!
.method public static void Main() cil
managed
Module Hello {
Sub Main() .entrypoint
Console.WriteLine("Hello, .custom instance void
VB.NET!") [mscorlib]System.STAThreadAttribute::.ctor(
End Sub ) = ( 01 00 00 00 )
End Module // Code size 14 (0xe)
.maxstack 8
IL_0000: nop
IL_0001: ldstr "Hello VB.NET!"
ildasm Hello.exe IL_0006: call void
[mscorlib]System.Console::WriteLine(string)
IL_000b: nop
IL_000c: nop
IL_000d: ret
} // end of method Hello::Main
Helpful Resources
 Comparison of Java vs. C#
http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Java
http://www.harding.edu/fmccown/java1_5_csharp_comparison.html
 Comparison of VB.NET vs. C#
http://en.wikipedia.org/wiki/Comparison_of_C_sharp_and_Visual_Basic_.NET
http://www.harding.edu/fmccown/vbnet_csharp_comparison.html

You might also like