# soumyadipyt-oss/dsa-in-csharp architecture

> Architecture diagram of the GitHub repository soumyadipyt-oss/dsa-in-csharp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/soumyadipyt-oss/dsa-in-csharp
- Repository: https://github.com/soumyadipyt-oss/dsa-in-csharp

## Overview

This repository is a C# learning resource, not a single application: the principal workflow is for a learner to explore examples, study a data structure or algorithm, and use its implementation to understand the concept. Its distinct branches cover algorithmic techniques, foundational structures, advanced structures, and C# collections and object-oriented examples. The binary-tree demo and bank-account project show concrete caller-to-implementation relationships. Most other examples were not sampled in full, so their internal calls are not mapped; README-described capabilities remain represented as subsystems without guessed links.

Main entry points: [`DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/Program.cs`](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/Program.cs) (Bank Account Demo), [`DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/BankAccount.cs`](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/BankAccount.cs) (Bank Account), [`DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/GiftCardAccount.cs`](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/GiftCardAccount.cs) (Gift Card Account), [`DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/InterestEarningAccount.cs`](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/InterestEarningAccount.cs) (Interest Account)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_algorithms["Algorithms"]
  node_algorithm_intro["Algorithm Intro"]
  node_recursion["Recursion"]
  node_divide_conquer["Divide and Conquer"]
  node_memoization["Memoization"]
  node_tree_pattern["Binary Tree Pattern<br/>[BinaryTree.cs]"]
  node_backtracking["Backtracking"]
  node_sorting["Sorting<br/>[_01_BubbleSort.cs]"]
  node_binary_tree_demo["Binary Tree Demo<br/>[Program.cs]"]
end

subgraph group_basic["Foundational Structures"]
  node_arrays["Arrays"]
  node_arraylist["ArrayList"]
  node_generic_list["Generic List"]
  node_linked_lists["Linked Lists"]
  node_pointers["Pointers<br/>[01_Example.cs]"]
  node_strings["Strings"]
  node_stack_queue["Stack and Queue"]
end

subgraph group_advanced["Advanced Structures"]
  node_trees["Trees"]
  node_hash_structures["Hash Structures"]
  node_graphs["Graphs"]
  node_probabilistic["Probabilistic Structures"]
  node_skip_lists["Skip Lists"]
  node_heaps_priority["Heaps and Priority Queues"]
end

subgraph group_collections["Collections and OOP"]
  node_concurrent["Concurrent Collections"]
  node_dictionary["Generic Dictionary"]
  node_oop_concepts["OOP Concepts"]
  node_bank_demo["Bank Account Demo<br/>[Program.cs]"]
  node_bank_account["Bank Account<br/>[BankAccount.cs]"]
  node_gift_account["Gift Card Account<br/>[GiftCardAccount.cs]"]
  node_interest_account["Interest Account"]
  node_credit_account["Credit Account"]
end

node_learner(("Learner"))

node_learner -->|"explores"| node_algorithm_intro
node_learner -->|"studies"| node_arrays
node_learner -->|"explores"| node_trees
node_binary_tree_demo -->|"calls"| node_tree_pattern
node_bank_demo -->|"creates and calls"| node_bank_account
node_bank_demo -->|"creates and calls"| node_interest_account
node_bank_demo -->|"creates and calls"| node_credit_account
node_bank_demo -->|"creates and calls"| node_gift_account
node_gift_account -->|"inherits"| node_bank_account
node_interest_account -->|"inherits"| node_bank_account
node_credit_account -->|"inherits"| node_bank_account

click node_algorithm_intro "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_00_IntroductionTo_Algorithms/_01_IntroAlgorithms.cs"
click node_recursion "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_01_Recursion"
click node_divide_conquer "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_02_Divide_and_Conquer"
click node_memoization "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_03_Memoization"
click node_tree_pattern "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/BinaryTree.cs"
click node_backtracking "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_05_Backtracking"
click node_sorting "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_06_Sorting/_01_BubbleSort.cs"
click node_arrays "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/01_Array%E2%9C%85"
click node_arraylist "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/02_ArrayList%E2%9C%85"
click node_generic_list "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/03_List%E2%9C%94%EF%B8%8F"
click node_linked_lists "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/04_LinkedList%E2%9C%85"
click node_pointers "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/05_Pointer%E2%9C%85/01_Example.cs"
click node_strings "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/06_Strings%E2%9C%85"
click node_stack_queue "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/07_Stack%E2%9C%85"
click node_trees "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/09_Tree%E2%9C%85"
click node_hash_structures "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/10_HashTable_HashMap%E2%9C%85"
click node_graphs "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/11_Graph%E2%9C%85"
click node_probabilistic "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/12_Bloom_Filter%E2%9C%94%EF%B8%8F"
click node_skip_lists "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/13_SkipList%E2%9C%94%EF%B8%8F"
click node_heaps_priority "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/14_Heaps%E2%9C%85"
click node_concurrent "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/16_ConcurrentCollections%E2%9C%85"
click node_dictionary "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/17_Dictionary%E2%9C%85"
click node_oop_concepts "https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/Object-Oriented-Programming%E2%9C%85"
click node_bank_demo "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/Program.cs"
click node_bank_account "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/BankAccount.cs"
click node_gift_account "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/GiftCardAccount.cs"
click node_interest_account "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/InterestEarningAccount.cs"
click node_credit_account "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/LineOfCreditAccount.cs"
click node_binary_tree_demo "https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/Program.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_algorithm_intro,node_recursion,node_divide_conquer,node_memoization,node_tree_pattern,node_backtracking,node_sorting,node_binary_tree_demo toneBlue
class node_arrays,node_arraylist,node_generic_list,node_linked_lists,node_pointers,node_strings,node_stack_queue toneAmber
class node_trees,node_hash_structures,node_graphs,node_probabilistic,node_skip_lists,node_heaps_priority toneMint
class node_concurrent,node_dictionary,node_oop_concepts,node_bank_demo,node_bank_account,node_gift_account,node_interest_account,node_credit_account toneRose
class node_learner toneIndigo
```

## Components

### Algorithms

- [Algorithm Intro](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_00_IntroductionTo_Algorithms/_01_IntroAlgorithms.cs): `Algorithms/_00_IntroductionTo_Algorithms/_01_IntroAlgorithms.cs`
- [Recursion](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_01_Recursion): `Algorithms/_01_Recursion`
- [Divide and Conquer](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_02_Divide_and_Conquer): `Algorithms/_02_Divide_and_Conquer`
- [Memoization](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_03_Memoization): `Algorithms/_03_Memoization`
- [Binary Tree Pattern](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/BinaryTree.cs): `Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/BinaryTree.cs`
- [Backtracking](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/Algorithms/_05_Backtracking): `Algorithms/_05_Backtracking`
- [Sorting](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_06_Sorting/_01_BubbleSort.cs): `Algorithms/_06_Sorting/_01_BubbleSort.cs`
- [Binary Tree Demo](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/Program.cs): `Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/Program.cs`

### Foundational Structures

- [Arrays](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/01_Array%E2%9C%85): `DataStructure/01_Array✅`
- [ArrayList](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/02_ArrayList%E2%9C%85): `DataStructure/02_ArrayList✅`
- [Generic List](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/03_List%E2%9C%94%EF%B8%8F): `DataStructure/03_List✔️`
- [Linked Lists](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/04_LinkedList%E2%9C%85): `DataStructure/04_LinkedList✅`
- [Pointers](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/05_Pointer%E2%9C%85/01_Example.cs): `DataStructure/05_Pointer✅/01_Example.cs`
- [Strings](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/06_Strings%E2%9C%85): `DataStructure/06_Strings✅`
- [Stack and Queue](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/07_Stack%E2%9C%85): `DataStructure/07_Stack✅`

### Advanced Structures

- [Trees](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/09_Tree%E2%9C%85): `DataStructure/09_Tree✅`
- [Hash Structures](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/10_HashTable_HashMap%E2%9C%85): `DataStructure/10_HashTable_HashMap✅`
- [Graphs](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/11_Graph%E2%9C%85): `DataStructure/11_Graph✅`
- [Probabilistic Structures](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/12_Bloom_Filter%E2%9C%94%EF%B8%8F): `DataStructure/12_Bloom_Filter✔️`
- [Skip Lists](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/13_SkipList%E2%9C%94%EF%B8%8F): `DataStructure/13_SkipList✔️`
- [Heaps and Priority Queues](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/14_Heaps%E2%9C%85): `DataStructure/14_Heaps✅`

### Collections and OOP

- [Concurrent Collections](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/16_ConcurrentCollections%E2%9C%85): `DataStructure/16_ConcurrentCollections✅`
- [Generic Dictionary](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/17_Dictionary%E2%9C%85): `DataStructure/17_Dictionary✅`
- [OOP Concepts](https://github.com/soumyadipyt-oss/dsa-in-csharp/tree/main/DataStructure/Object-Oriented-Programming%E2%9C%85): `DataStructure/Object-Oriented-Programming✅`
- [Bank Account Demo](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/Program.cs): `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/Program.cs`
- [Bank Account](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/BankAccount.cs): `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/BankAccount.cs`
- [Gift Card Account](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/GiftCardAccount.cs): `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/GiftCardAccount.cs`
- [Interest Account](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/InterestEarningAccount.cs): `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/InterestEarningAccount.cs`
- [Credit Account](https://github.com/soumyadipyt-oss/dsa-in-csharp/blob/main/DataStructure/Object-Oriented-Programming%E2%9C%85/05_OOPs_Project/LineOfCreditAccount.cs): `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/LineOfCreditAccount.cs`

### Other components

- **Learner**

## Connections

- Learner → Algorithm Intro: explores (evidence: `README.md`)
- Learner → Arrays: studies (evidence: `README.md`)
- Learner → Trees: explores (evidence: `README.md`)
- Binary Tree Demo → Binary Tree Pattern: calls (evidence: `Algorithms/_04_CommonPatterns/_01_BinaryTree/_01_BinaryTree/Program.cs`)
- Bank Account Demo → Bank Account: creates and calls (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/Program.cs`)
- Bank Account Demo → Interest Account: creates and calls (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/Program.cs`)
- Bank Account Demo → Credit Account: creates and calls (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/Program.cs`)
- Bank Account Demo → Gift Card Account: creates and calls (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/Program.cs`)
- Gift Card Account → Bank Account: inherits (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/GiftCardAccount.cs`)
- Interest Account → Bank Account: inherits (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/InterestEarningAccount.cs`)
- Credit Account → Bank Account: inherits (evidence: `DataStructure/Object-Oriented-Programming✅/05_OOPs_Project/LineOfCreditAccount.cs`)
