Documente Academic
Documente Profesional
Documente Cultură
By
ApexTG India Pvt. Ltd.
ECMA standard
originally developed by MSR
not just Java + C++
many extensions
Introduce
C# language
.NET framework
future of Windows
base of Microsofts C# implementation
Non-goals
Teach
you to program
Introduce
Give
S/U only
even homework
S/U Details
come to lecture
participate
do three assignments
will not be giving a detailed grade
show me that you understand the concepts, and can write
C# code
Administrative Details
Class
Prerequisites:
Academic
CS 211/212
Integrity
Useful Tools
Visual
Mono:
http://www.go-mono.com
Rotor:
C#
http://msdn.microsoft.com/net/sscli
Useful Tools
Portable.NET:
CMS:
http://www.dotgnu.org
http://cms.csuglab.cornell.edu
Course
Webpage: http
://www.cs.cornell.edu/courses/cs215
CSUGLab
You
Syllabus
Syllabus
C# constructs: 5 lectures
Types, Delegates, Generics, Reflection, Iterators
.NET Memory Management: 1 lecture
Topics: 4 lectures
C# 3.0, Threading, Security, MSIL, MSH
Quiz 1
Each
Todays
What is .NET?
A
What is .NET?
Web Services
Sharepoint
...
...
.NET Applications
Enterprise Servers
Languages:
SQL Server
BizTalk
...
Runtime
Common
Type
System
Common
Language
Runtime
.NET Framework
Operating System
From MSDN
COM Marshaler
Type Checker
Exception Manager
Security Engine
Debug Engine
MSIL to Native
Compilers (JIT)
Code
Manager
Class Loader
From MSDN
Garbage
Collector (GC)
For
example
From MSDN
For
example
Can
Many
Assemblies
Code
types
COM vs .NET
Historically,
Difficult
to get right
Use
Windows PowerShell
New
Allows
First C# Program
using System;
namespace Test {
int a = 137;
class Hello {
public static void Main(string[] args) {
Console.WriteLine(Hello {0}, a);
}
}
}
Constructions of Note
using
namespace
disambiguation of names
like Internet hierarchical names and Java naming
class
like in Java
single inheritance up to object
Constructions of Note
Console.Write(Line)
{index [,alignment][:formatting]}
also can use as in Java
Test + a