dimanche 8 février 2015

get Max method for DateTime type

I would like to get the Max method, wich returns a DateTime type.


But it seems, there isn't a Max method, wich returns this type.


If I code this:



Dim test = GetType(Enumerable).GetMethods(BindingFlags.Public Or BindingFlags.Static).
Where(Function(m) m.Name = "Max")


I can't find an appr. method, wich returns DateTime.


My question: how could I get a Max method, wich returns a DateTime type?






Aucun commentaire:

Enregistrer un commentaire