Syllabus
- Overview of C# and .NET framework
- Setting up the development environment (Visual Studio, .NET SDK)
- Writing and executing your first C# program (Hello World)
- Understanding C# syntax and structure
- Data types (int, float, double, string, bool)
- Variables and constants
- Input/Output operations (Console.ReadLine(), Console.WriteLine())
- Type casting (implicit, explicit)
- Operators in C#
- Arithmetic, relational, logical, and bitwise operators
- Assignment and conditional operators
- Ternary operator
- Conditional statements (if, else, switch)
- Looping statements (for, while, do-while, foreach)
- Break, continue, and return statements
- Defining and calling functions
- Function parameters (value types, reference types)
- Return types and method overloading
- Recursion
- Classes and objects
- Constructors and destructors
- Instance and static members
- Access modifiers (public, private, protected)
- Encapsulation and abstraction
- Inheritance (base class, derived class)
- Polymorphism (method overriding, virtual and override keywords)
- Interfaces and abstract classes
- Introduction to exceptions
- Try, catch, finally blocks
- Throwing exceptions
- Custom exception handling
- File handling using FileStream and StreamReader/StreamWriter
- Reading and writing text files
- File operations (delete, copy, move)
- Introduction to delegates
- Using delegates with methods
- Events and event handling
- Introduction to LINQ
- Query syntax vs. method syntax
- Filtering, sorting, and grouping collections
- LINQ with arrays and lists
- Building a small application (e.g., a console-based calculator, to-do list, or student management system)
- Implementing learned concepts: OOP, collections, exception handling, and file handling
C#
- Category: Programming
- Project: One Academic Project
- Duration: 2 Month
Importance of C#
C# (pronounced "C-sharp") is a modern, high-level, object-oriented programming language developed by Microsoft. It is widely used for building Windows applications, web applications, and game development. C# is part of the .NET framework, which provides a wide range of libraries and tools to help developers create powerful applications.