## Вывод данных согласно макета (ListBox, Image).
```
```
```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp3.model
{
public class Student
{
private string photo;
public Uri GetImageBitmap()
{
var imageName = Environment.CurrentDirectory + "/img/" + (photo ?? "");
return System.IO.File.Exists(imageName) ? new Uri(imageName) : null;
}
}
}
```
![](./img/Снимок%20экрана%202024-05-06%20092104.png)
## Вывод данных "плиткой"
```
```
![](./img/Снимок%20экрана%202024-05-06%20102304.png)