4 ms·
My C# skills must be out of date. Previously you had to use delegates and it was pretty cumbersome.
by Osiris 12y ago
My C# skills must be out of date. Previously you had to use delegates and it was pretty cumbersome.
- jaked89 12y agoEven with delegates, C#'s version is pretty much equivalent to JS's: JavaScript: var blah = function(){ return "im a function"}; C# 3.0: var blah = delegate { return "im a function"; }; C# 2.0: Func<string> blah = delegate { return "im a function"; };