# marcodelcoresamt/lab-programmazione-2 architecture

> Architecture diagram of the GitHub repository marcodelcoresamt/lab-programmazione-2, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/marcodelcoresamt/lab-programmazione-2
- Repository: https://github.com/marcodelcoresamt/lab-programmazione-2

## Overview

This repository is a collection of small .NET MAUI and C# learning exercises, not one integrated product. The clearest runtime workflow is HelloLinq: its console entry point loads sample student records, runs LINQ queries, and prints results. Other projects are identifiable by names and source layout as diary, quiz, converter, equation, layout, list, pizza-picker, and MAUI examples, but their page behavior was not sampled. The graph preserves those distinct examples without guessing their internal call flows.

Main entry points: [`HelloLinq/Program.cs`](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLinq/Program.cs) (LINQ queries), [`HelloLinq/Studente.cs`](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLinq/Studente.cs) (Student records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_linq["LINQ exercise"]
  node_linq_program["LINQ queries<br/>[Program.cs]"]
  node_student_data["Student records<br/>[Studente.cs]"]
end

subgraph group_maui_samples["MAUI examples"]
  node_layout_page["Layout page<br/>[MainPage.xaml.cs]"]
  node_example_page["Example page<br/>[MainPage.xaml.cs]"]
  node_lab_example_page["Lab example page<br/>[MainPage.xaml.cs]"]
end

subgraph group_student_apps["Student apps"]
  node_diary_page["Diary page<br/>[MainPage.xaml.cs]"]
  node_diary_note["Diary note<br/>[Nota.cs]"]
  node_quiz_page["Quiz page<br/>[MainPage.xaml.cs]"]
  node_quiz_question["Question model<br/>[QuestionBase.cs]"]
  node_true_false_question["True/false question"]
  node_open_question["Open question<br/>[OpenQuestion.cs]"]
  node_quiz_result["Quiz results<br/>[ResultPage.xaml.cs]"]
end

subgraph group_other_apps["Utility apps"]
  node_converter_page["Converter page<br/>[MainPage.xaml.cs]"]
  node_equation_page["Equation page<br/>[MainPage.xaml.cs]"]
  node_list_page["List page<br/>[MainPage.xaml.cs]"]
  node_fruit_model["Fruit model<br/>[Frutto.cs]"]
  node_pizza_page["Pizza picker<br/>[MainPage.xaml.cs]"]
  node_pizza_model["Pizza model<br/>[Zappi.cs]"]
end

node_console_user(("Console user"))

node_console_user -->|"runs"| node_linq_program
node_linq_program -->|"loads records"| node_student_data

click node_linq_program "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLinq/Program.cs"
click node_student_data "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLinq/Studente.cs"
click node_layout_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLayout/MainPage.xaml.cs"
click node_example_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppEsempio/MainPage.xaml.cs"
click node_lab_example_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/LaboratorioMAUI/AppEsempio/MainPage.xaml.cs"
click node_diary_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppDiario/MainPage.xaml.cs"
click node_diary_note "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppDiario/Models/Nota.cs"
click node_quiz_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/MainPage.xaml.cs"
click node_quiz_question "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/Models/QuestionBase.cs"
click node_true_false_question "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/Models/TrueFalseQuestion.cs"
click node_open_question "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/Models/OpenQuestion.cs"
click node_quiz_result "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/ResultPage.xaml.cs"
click node_converter_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppConvertitore/MainPage.xaml.cs"
click node_equation_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/Compito%202%20-%20Equation/MainPage.xaml.cs"
click node_list_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloList/MainPage.xaml.cs"
click node_fruit_model "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloList/Models/Frutto.cs"
click node_pizza_page "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/PizzaAPP%20Picker/MainPage.xaml.cs"
click node_pizza_model "https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/PizzaAPP%20Picker/Models/Zappi.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_linq_program,node_student_data,node_console_user toneBlue
class node_layout_page,node_example_page,node_lab_example_page toneAmber
class node_diary_page,node_diary_note,node_quiz_page,node_quiz_question,node_true_false_question,node_open_question,node_quiz_result toneMint
class node_converter_page,node_equation_page,node_list_page,node_fruit_model,node_pizza_page,node_pizza_model toneRose
```

## Components

### LINQ exercise

- [LINQ queries](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLinq/Program.cs): `HelloLinq/Program.cs`
- [Student records](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLinq/Studente.cs): `HelloLinq/Studente.cs`

### MAUI examples

- [Layout page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloLayout/MainPage.xaml.cs): `HelloLayout/MainPage.xaml.cs`
- [Example page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppEsempio/MainPage.xaml.cs): `AppEsempio/MainPage.xaml.cs`
- [Lab example page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/LaboratorioMAUI/AppEsempio/MainPage.xaml.cs): `LaboratorioMAUI/AppEsempio/MainPage.xaml.cs`

### Student apps

- [Diary page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppDiario/MainPage.xaml.cs): `AppDiario/MainPage.xaml.cs`
- [Diary note](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppDiario/Models/Nota.cs): `AppDiario/Models/Nota.cs`
- [Quiz page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/MainPage.xaml.cs): `AppQuiz/MainPage.xaml.cs`
- [Question model](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/Models/QuestionBase.cs): `AppQuiz/Models/QuestionBase.cs`
- [True/false question](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/Models/TrueFalseQuestion.cs): `AppQuiz/Models/TrueFalseQuestion.cs`
- [Open question](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/Models/OpenQuestion.cs): `AppQuiz/Models/OpenQuestion.cs`
- [Quiz results](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppQuiz/ResultPage.xaml.cs): `AppQuiz/ResultPage.xaml.cs`

### Utility apps

- [Converter page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/AppConvertitore/MainPage.xaml.cs): `AppConvertitore/MainPage.xaml.cs`
- [Equation page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/Compito%202%20-%20Equation/MainPage.xaml.cs): `Compito 2 - Equation/MainPage.xaml.cs`
- [List page](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloList/MainPage.xaml.cs): `HelloList/MainPage.xaml.cs`
- [Fruit model](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/HelloList/Models/Frutto.cs): `HelloList/Models/Frutto.cs`
- [Pizza picker](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/PizzaAPP%20Picker/MainPage.xaml.cs): `PizzaAPP Picker/MainPage.xaml.cs`
- [Pizza model](https://github.com/marcodelcoresamt/lab-programmazione-2/blob/main/PizzaAPP%20Picker/Models/Zappi.cs): `PizzaAPP Picker/Models/Zappi.cs`

### Other components

- **Console user**

## Connections

- Console user → LINQ queries: runs (evidence: `HelloLinq/Program.cs`)
- LINQ queries → Student records: loads records (evidence: `HelloLinq/Program.cs`)
