public List<myClass> Mymethod(){ List<myClass> Collect = new List<myClass>(); if (list.Count == 0) { myfunction(); // my function must be invoked every day at 7 to update list Collection = list; return Collect; } else { Collection = list; return Collect; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)