[newbie] err
C#
2
Posts
2
Posters
0
Views
1
Watching
-
See anything wrong here? Pasted out of MSDN to a Console application (C#).
delegate int del(int i); //error?
del myDelegate = x => x * x;
int j = myDelegate(5); //j = 2VS 2008 / .NET 3.5 :confused: http://msdn.microsoft.com/en-us/library/bb397687.aspx[^]
Jon
-
See anything wrong here? Pasted out of MSDN to a Console application (C#).
delegate int del(int i); //error?
del myDelegate = x => x * x;
int j = myDelegate(5); //j = 2VS 2008 / .NET 3.5 :confused: http://msdn.microsoft.com/en-us/library/bb397687.aspx[^]
Jon