I would to build 2 by 2 Matrix using C sharp

Developed a backend system

Hello developer! I want to build 2 by 2 matrix up to 10 level using C# dotnet 7 can any body suggest me best practices to achieve this task.