3 ms·
C# has closures but why do you say it has first class functions? I'm pretty new to C# but I thought all functions still must be members of a class. Yes you can
by h_r 14y ago
C# has closures but why do you say it has first class functions? I'm pretty new to C# but I thought all functions still must be members of a class. Yes you can pass delegates to, or return them from, a function but they cannot stand alone. Isn't that true?