PakProject.com
A Free Source of Learning
You are here: Home > Lecture Notes > Object Oriented Programming Using C#
  Beginning C-Sharp .NET (C#) Programming
NOTE: Most of the contents presented on this page are taken from book "Professional C# 2008" by Wrox Publications. The content presented here is just for educational purpose.

Class Lectures

Lecture-1

Relationship of C# to .NET? - The Common Language Runtime - Platform Independence - JIT (Just In Time compilation)

Lecture-2

C# basics - First program - Variable Scope - Constants - Value types and reference types - The if Statement - The switch Statement - The for Loop - The while Loop - The do - while Loop - The foreach Loop - The break Statement - The continue Statement - The return Statement - Enumerations
Lecture-3

Arrays - Passing Arguments to Main()

Lecture-4

Classes - ref Parameters - Out parameter - Method Overloading -

Lecture-5

Default arguments - Properties - Property Examples - Readonly Writeonly properties - Access modifiers for properties - Constructors - Constructor Overloading - Constructor Parameters - Calling Constructors from Other Constructors

Lecture-6

Getting user input - Calling Constructors from Other Constructors - Readonly Fields - Anonymous Types - Structs - Heap Memory - Partial Classes

Lecture-7

Virtual Methods - Hiding Methods

Lecture-8

Abstract Classes and Functions - Sealed Classes and Methods

Lecture-9

Interfaces - Derived Interfaces

Lecture-10

Array Declaration - Array Initialization - Jagged Arrays - Creating Arrays - Sorting -

Lecture-11

Operators - The Conditional Operator - The checked and unchecked Operators - The is Operator -

Lecture-12

Boxing and Unboxing - Operator Overloading - Overloading the Comparison Operators - Implicit and explicit casts - IMPLICIT SYNTAX - EXPLICIT SYNTAX
Lecture-13

Delegates - Declaring Delegates in C#

Lecture-14

Anonymous Methods - Lambda Expressions

Lecture-15

Exception Classes

Lecture-16

Nested try Blocks - USER DEFINED EXCEPTIONS

Lecture-17

The Thread Class - Passing Data to Threads - Background Threads - Thread Priority

Lecture-18

.NET Registry Classes - Reading registry - writing to registry - RegistryKey

Lecture-19

Windows Management Instrumentation (WMI) - ConnectionOptions Class - ManagementScope Class - ObjectQuery Class - ManagementObjectSearcher Class - ManagementObjectCollection Class

C# Sample Programs

Games developed in C#

The source code and running programs of simple games developed in C#. e-g Cards Game - Fire Woods Waater - Minesweeper - Snake Game - Tank Fire

A Large collection C# Programs

A huge collection of easily understood C# programs. Programs for ArrayList - Database Connectivity - Data Entry Checks - Delegates - Drag Drop - Drawing - Filing - Jagged Arrays - Matrices - Net Remoting - Overloading - Properties - Exceptions - String Operations - Registry Operations - Simple .net Forms - SNMP Basic Programs - StringBuilder - System Tray - Threads - Windows Management Instrumentation WMI - CheckList Control - ListBox Control - Context Menu - Domain Up Down - Link Label Control - ListView - Progress Bar - Status Bar - Toolbar - Track bar - TreeView

Network monitoring system in C-Sharp (C#)

An application developed in C Sharp as final semester project. It can bring any information of any PC on a Domain LAN. The software is combination of ICMP Pinger, WMI Query and .NET graphs.


  

Assignments

Assignment-1

Assignment-1 Solution

Assignment-2-3

Assignment-2-3 Solution

Assignment-4

Assignment-4 Solution



Quizzes

Quiz-1

Quiz-1 Solution

Quiz-2

Quiz-2 Solution

Quiz-3-4

Quiz-3-4 Solution

Exams

Sessional-1

Sessional-1 Solution

Sessional-2

Sessional-2 Solution

Re Sessional-1

Re Sessional-1 Solution

Final Exam

Final Exam Solution



For any suggestions, feedback, complaints and advertisement contact us at info @ pakproject . com -- Copyrights © pakproject.com Disclaimer