Introduction to C# Programming with Microsoft.NET AY
CHHIENG Sokha (Mr.) Education: Master of Science in Information Technology (2011) Bachelor of Computer Studies (2007) Microsoft Office Specialist (MOS) Current job: Programming Lecturer (Norton) Fraud Management & Revenue Assurances Splist (Beeline-KH) Contacts: khase7en
What is C#? C# (pronounced "see sharp" or "C Sharp") is one of many.NET programming languages. It is object-oriented and allows you to build reusable components for a wide variety of application types. Microsoft introduced C# on June 26th, 2000 and it became a v1.0 product on Feb 13th C# is an evolution of the C and C++ family of languages. However, it borrows features from other programming languages, such as Delphi and Java. If you look at the most basic syntax of both C# and Java, the code looks very similar, but then again, the code looks a lot like C++ too, which is intentional.
How Does a C# Application Run? An important point is that C# is a "managed" language, meaning that it requires the.NET Common Language Runtime (CLR) to execute. Essentially, as an application that is written in C# executes, the CLR is managing memory, performing garbage collection, handling exceptions, and providing many more services that you, as a developer, don't have to write code for. The C# compiler produces Intermediate Language (IL), rather than machine language, and the CLR understands IL. When the CLR sees the IL, it Just-In-Time (JIT) compiles it, method by method, into compiled machine code in memory and executes it. As mention previously, the CLR manages the code as it executes. You will study in Chapter I
Versions |.NET Framework C# introduced 2000 / released January 2002 C# 1.0 o Visual Studio.NET (2002) C# released April 2003 C# 1.1 o Visual Studio.NET 2003 C# released November 2005 C# 2.0 o Visual Studio.NET 2005 C# released November 2007 C# 3.0 o Visual Studio.NET 2008 C# released April 2012 C# 4.0 o Visual Studio.NET 2010 o C# 4.5 o Visual Studio.NET 2012
Types of C# Application Desktop applications Web applications Console applications Mobile applications XML Web Services
Web Applications o ASP.NET o Silverlight Applications
Desktop/ Windows Applications o Windows Forms o Windows Presentation Foundation (WPF )
Console and Mobile applications Mobile application Console applications
Web Services Web Services are software applications that can be accessed locally or remotely by websites, servers and desktop applications.
Course Outline Introduction to C# Programming with Microsoft.NET Chapter 1: Getting Started Chapter 2: Understanding C# Language Fundamentals Chapter 3: Creating Objects in C# Chapter 4: Implementing Object-Oriented Programming Techniques in C# Chapter 5: Programming with C# Chapter 6: Building.NET-based Applications with C# Chapter 7: Creating Windows–based Applications
COURSE REQUIREMENTS AND GRADING SYSTEM Homework and Presentation + Mid Term exam15% Course Project (or Assignment) 20% Class Participation (Attendance, Discipline, and Involvement) 5% Final exam 60% Total100% Passing grade>= 50%