private static void JsonFileReading(JsonFileReader <StudentJson> fileReader) { var path = @"C:\Users\Franco-PC\OneDrive\Desktop\java2net-Lesson05_DelegatesEvents_Extension_LinQ\Globant.Java2Net.Demos.Classes\Json\Students.json"; //Agregar todas las funciones al evento fileReader.OnFileRead += (students) => { Console.WriteLine("Executing Filter Elements count"); Console.WriteLine($"There are {students.Count} Students"); }; fileReader.OnFileRead += FilterClass; fileReader.OnFileRead += FilterSocialSit; fileReader.OnFileRead += FilterLockSizeAvg; try { fileReader.ReadJsonFile(path); } catch (Exception ex) { Console.WriteLine(ex.Message); } }