# nguyenhuusang04/study architecture

> Architecture diagram of the GitHub repository nguyenhuusang04/study, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nguyenhuusang04/study
- Repository: https://github.com/nguyenhuusang04/study

## Overview

##### Main Organizational Structure
- At the top level, you have broad groupings such as “BaiTap” and “C_Sharp.” These represent collections or categories of study exercises.
- Under each grouping, you have individual exercise projects (for example, “BT_Bai_5_Delegate_Event”, “BT_Bai_5_DongHo_1s”, “BT_Bai_5_PhimBam”, “Bai_1_LamQuen”, “Bai_2_OPP_Basic”, etc.). For each exercise, note that they typically have their own Visual Studio solution (.sln), project file (.csproj), and supporting directories.

##### Representing Each Project
- Program.cs – which holds the entry point.
- Other key source files (e.g., Button.cs, DongHo.cs, Event.cs, and so on).
- App.config which hints at configuration management.
- Properties, bin, and obj directories that serve the build process.

##### Highlighting Architectural Patterns and Design Principles
- Many exercises demonstrate fundamental C# concepts. For example:
- The “Delegate & Event” projects illustrate how components dispatch events to subscribed methods.

##### Technology and Tools
- That these are C# projects using the .NET Framework (as seen by .NETFramework,Version=v4.7.2.AssemblyAttributes.cs files in the obj directories).

## Diagram (Mermaid)

```mermaid
flowchart TD
    Repo["Study Repository"]:::repo
    BaiTap["BaiTap"]:::category
    CSharp["C_Sharp"]:::category

    Repo --> BaiTap
    Repo --> CSharp

    %% BaiTap Projects
    BaiTap --> DE_Program
    BaiTap --> CS_Program
    BaiTap --> PB_Program
    BaiTap --> TD_Program
    BaiTap --> TDE_Program

    subgraph "BT_Bai_5_Delegate_Event"
        DE_Program["Program.cs"]:::file
        DE_Button["Button.cs"]:::file
        DE_App["App.config"]:::file
        DE_Program --> DE_Button
        DE_Button --> DE_App
    end

    subgraph "BT_Bai_5_DongHo_1s"
        CS_Program["Program.cs"]:::file
        DongHo["DongHo.cs"]:::file
        CS_App["App.config"]:::file
        CS_Program --> DongHo
        DongHo --> CS_App
    end

    subgraph "BT_Bai_5_PhimBam"
        PB_Program["Program.cs"]:::file
        Butoon["Butoon.cs"]:::file
        PB_App["App.config"]:::file
        PB_Program --> Butoon
        Butoon --> PB_App
    end

    subgraph "ToDoList"
        TD_Program["Program.cs"]:::file
        TD_App["App.config"]:::file
        TD_Program --> TD_App
    end

    subgraph "ToDoList_Event_Delegate"
        TDE_Program["Program.cs"]:::file
        TDE_ToDoList["ToDoList.cs"]:::file
        TDE_App["App.config"]:::file
        TDE_Program --> TDE_ToDoList
        TDE_ToDoList --> TDE_App
    end

    %% C_Sharp Projects
    CSharp --> LQ_Program
    CSharp --> OPP_Program
    CSharp --> KT_Program
    CSharp --> Tiep_Program
    CSharp --> DEn_Program

    subgraph "Bai_1_LamQuen"
        LQ_Program["Program.cs"]:::file
        LQ_App["App.config"]:::file
        LQ_Program --> LQ_App
    end

    subgraph "Bai_2_OPP_Basic"
        OPP_Program["Program.cs"]:::file
        HocSinh["HocSinh.cs"]:::file
        SinhVien["SinhVien.cs"]:::file
        OPP_App["App.config"]:::file
        OPP_Program --> HocSinh
        HocSinh --> SinhVien
        SinhVien --> OPP_App
    end

    subgraph "Bai_3_KeThua"
        KT_Program["Program.cs"]:::file
        NhanVien["NhanVien.cs"]:::file
        NhanVienDiCa["NhanVienDiCa.cs"]:::file
        NhanVienHanhChinh["NhanVienHanhChinh.cs"]:::file
        KT_App["App.config"]:::file
        KT_Program --> NhanVien
        NhanVien --> NhanVienDiCa
        NhanVien --> NhanVienHanhChinh
        NhanVienDiCa --> KT_App
        NhanVienHanhChinh --> KT_App
    end

    subgraph "Bai_4_OPP_TiepTheo"
        Tiep_Program["Program.cs"]:::file
        Person["Person.cs"]:::file
        Student["Student.cs"]:::file
        Tiep_App["App.config"]:::file
        Tiep_Program --> Person
        Person --> Student
        Student --> Tiep_App
    end

    subgraph "Bai_5_Delegate_Envent"
        DEn_Program["Program.cs"]:::file
        DEn_Button["Button.cs"]:::file
        DEn_Event["Event.cs"]:::file
        DEn_Children["Children.cs"]:::file
        DEn_Me["Me.cs"]:::file
        DEn_App["App.config"]:::file
        DEn_Program --> DEn_Button
        DEn_Program --> DEn_Event
        DEn_Program --> DEn_Children
        DEn_Program --> DEn_Me
        DEn_Button --> DEn_App
        DEn_Event --> DEn_App
        DEn_Children --> DEn_App
        DEn_Me --> DEn_App
    end

    %% Click Events for Global Nodes
    click Repo "https://github.com/nguyenhuusang04/study/tree/main/Repository"
    click BaiTap "https://github.com/nguyenhuusang04/study/tree/main/BaiTap"
    click CSharp "https://github.com/nguyenhuusang04/study/tree/main/C_Sharp"

    %% Click Events for BaiTap Projects
    click DE_Program "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_Delegate_Event/Program.cs"
    click DE_Button "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_Delegate_Event/Button.cs"
    click DE_App "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_Delegate_Event/App.config"

    click CS_Program "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_DongHo_1s/Program.cs"
    click DongHo "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_DongHo_1s/DongHo.cs"
    click CS_App "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_DongHo_1s/App.config"

    click PB_Program "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_PhimBam/Program.cs"
    click Butoon "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_PhimBam/Butoon.cs"
    click PB_App "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Buoi/BT_Bai_5_PhimBam/App.config"

    click TD_Program "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Tuan/Tuan_1_2/ToDoList/Program.cs"
    click TD_App "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Tuan/Tuan_1_2/ToDoList/App.config"

    click TDE_Program "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Tuan/Tuan_1_2/ToDoList_Event_Delegate/Program.cs"
    click TDE_ToDoList "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Tuan/Tuan_1_2/ToDoList_Event_Delegate/ToDoList.cs"
    click TDE_App "https://github.com/nguyenhuusang04/study/blob/main/BaiTap/BT_Tuan/Tuan_1_2/ToDoList_Event_Delegate/App.config"

    %% Click Events for C_Sharp Projects
    click LQ_Program "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_1_LamQuen/Program.cs"
    click LQ_App "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_1_LamQuen/App.config"

    click OPP_Program "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_2_OPP_Basic/Program.cs"
    click HocSinh "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_2_OPP_Basic/HocSinh.cs"
    click SinhVien "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_2_OPP_Basic/SinhVien.cs"
    click OPP_App "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_2_OPP_Basic/App.config"

    click KT_Program "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_3_KeThua/Program.cs"
    click NhanVien "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_3_KeThua/NhanVien.cs"
    click NhanVienDiCa "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_3_KeThua/NhanVienDiCa.cs"
    click NhanVienHanhChinh "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_3_KeThua/NhanVienHanhChinh.cs"
    click KT_App "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_3_KeThua/App.config"

    click Tiep_Program "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_4_OPP_TiepTheo/Program.cs"
    click Person "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_4_OPP_TiepTheo/Person.cs"
    click Student "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_4_OPP_TiepTheo/Student.cs"
    click Tiep_App "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_4_OPP_TiepTheo/App.config"

    click DEn_Program "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_5_Delegate_Envent/Program.cs"
    click DEn_Button "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_5_Delegate_Envent/Button.cs"
    click DEn_Event "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_5_Delegate_Envent/Event.cs"
    click DEn_Children "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_5_Delegate_Envent/Children.cs"
    click DEn_Me "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_5_Delegate_Envent/Me.cs"
    click DEn_App "https://github.com/nguyenhuusang04/study/blob/main/C_Sharp/Bai_5_Delegate_Envent/App.config"

    %% Styles
    classDef repo fill:#f9f,stroke:#333,stroke-width:2px;
    classDef category fill:#ccf,stroke:#333,stroke-width:2px;
    classDef file fill:#cfc,stroke:#333,stroke-width:1px;
```
