using System.Collections.Generic;
public static void Main()
List<Entity1> list1 = new List<Entity1>();
List<Entity2> list2 = new List<Entity2>();
Entity1 e1 = new Entity1{
Entity1 e2 = new Entity1{
Entity1 e3 = new Entity1{
Entity2 classroom = new Entity2{
List<object> objList = new List<object>();
string arrayOfObjects = JsonConvert.SerializeObject();
Console.WriteLine(arrayOfObjects);
public string Name {get;set;}
public string Surname{get;set;}
public string Classroom {get;set;}