Skip to content

R-Kishore-Kumar-KK/CSharp-Core-Concepts

Repository files navigation

📘 C# Fundamentals and Collections

This repository contains structured and clean examples of C# programming concepts along with console-based implementations.


🎯 Purpose

  • Strengthen C# fundamentals
  • Practice coding concepts
  • Prepare for technical interviews

🚀 Who is this for?

  • Beginners learning C#
  • Developers revising core concepts
  • Interview preparation

📚 Topics Covered

🔹 Basics

  • Variables and Data Types
  • Type Casting
  • Operators

🔹 Control Statements

  • If / Else
  • Switch Case
  • Loops (for, while, do-while, foreach)

🔹 Core Concepts (Foundation for OOP)

  • Classes and Structure
  • Types of Variables (Member, Local, Parameter)
  • Access Modifiers
  • Modifiers (static, abstract, sealed, etc.)
  • Member Functions (Constructor, Static, Instance)
  • Return Types
  • Properties (Normal & Auto-Implemented)
  • Exception Handling (try, catch, finally)

🔹 Object-Oriented Programming (OOP)

  • Class and Object
  • Encapsulation
  • Abstraction
  • Inheritance
  • Polymorphism
  • Message Passing
  • Dynamic Binding

🔹 Interfaces

  • Interface Definition and Syntax
  • Method Declarations (Abstract Methods)
  • Interface Implementation
  • Multiple Interface Implementation
  • Implicit Implementation
  • Explicit Implementation

🔹 Inheritance

  • Single Inheritance
  • Multiple Inheritance (using Interfaces)
  • Multilevel Inheritance
  • Hierarchical Inheritance
  • Hybrid Inheritance

🔹 Polymorphism

  • Compile-Time Polymorphism (Method Overloading)
  • Runtime Polymorphism (Method Overriding)

🔹 Object Creation

  • Independent Object Creation
  • Dependent Object Creation (Parent reference, Child object)

🔹 Collections

  • Array
  • ArrayList
  • List
  • Hashtable
  • Dictionary<TKey, TValue>
  • Stack (LIFO)
  • Queue (FIFO)

🔹 Delegates & Events

  • Custom Delegates
  • Built-in Delegates (Action, Func, Predicate)
  • Event Handling (Publisher-Subscriber Model)
  • Delegate vs Event

🔹 Asynchronous Programming

  • async and await
  • Task-based Programming
  • Non-blocking Execution
  • Parallel vs Sequential Execution
  • Best Practices for Async

🔹 LINQ (Language Integrated Query)

  • Filtering (Where)
  • Projection (Select)
  • Sorting (OrderBy, OrderByDescending)
  • Aggregation (Count, Any, All)
  • First / FirstOrDefault
  • GroupBy
  • Join
  • Method Syntax vs Query Syntax

🛠 Technologies Used

  • C#
  • Console Application

▶️ How to Run

  1. Clone the repository
    git clone https://github.com/R-Kishore-Kumar-KK/CSharp-Core-Concepts.git
    

👨‍💻 Author

Kishore Kumar R

Releases

No releases published

Packages

 
 
 

Contributors

Languages