Introduction to C#
[Pages:40]Introduction to C#
CS513: System Security
Spring 2004
Kevin Hamlen hamlen@cs.cornell.edu
Outline
? .NET Framework Architecture ? Development Environment ? The C# Language ? Common Language Runtime (CLR) ? eXtensible Markup Language (XML)
.NET Framework Architecture:
MSIL (MicroSoft Intermediate Language)
C++
JIT Compiler
C#
MSIL
x86 Native Compiler
Scheme
.NET Virtual Machine
.NET Framework Architecture:
MSIL (MicroSoft Intermediate Language)
Microsoft Visual Studio .NET
C#
MSIL
x86 Native Compiler
.NET Framework Architecture:
Managed vs. Unmanaged MSIL
C# Safe Unsafe
MSIL Managed Unmanaged
? Only use the SAFE subset of C#: ? Don't import your own unmanaged dll's ? Don't use the /unsafe compiler option ? Don't use the unsafe C# keyword
Development Environment:
Microsoft Visual Studio .NET
The C# Language
? Type System
? Value types and Reference types ? Type Conversions ? New Types: structs, enums, multidim. arrays, delegates
? Object System
? Namespaces (packages) ? Inheritance ? Properties ? Interfaces
? Collection Interfaces
? Operator Overloading & Cast Operators
? Attributes
Our First C# Program
class Addition { static void Main(string[] args) { decimal sum = 0; foreach(string s in args) { sum += System.Convert.ToDecimal(s); } System.Console.WriteLine("The sum is: {0}", sum); }
}
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- getting started with cxml
- introduction to ibm integration bus iib
- converting and exporting data in xml format
- the assent materials declaration tool user manual
- introduction to xsl fo concepts
- introduction to c
- software tools for xml to owl translation
- experiences with json and xml transformations
- convert datatable to xml with schema in c
Related searches
- introduction to financial management pdf
- introduction to finance
- introduction to philosophy textbook
- introduction to philosophy pdf download
- introduction to philosophy ebook
- introduction to marketing student notes
- introduction to marketing notes
- introduction to information systems pdf
- introduction to business finance pdf
- introduction to finance 15th edition
- introduction to finance books
- introduction to finance online course