This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestClass : ConsoleApplication1.ITestClass | |
{ | |
//dynamic fooLambda = () => { return "foo"}; | |
//dynamic fooAnonDelegate = delegate() { return "foo" }; | |
//Those don't work "Cannot convert lambda to 'dynamic' because it | |
//is not a delegate type | |
public TakeSomeFoo TakeSome = () =>{ return "foo"; }; | |
public delegate string TakeSomeFoo(); | |
public string fooBar { get; set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestClass : ConsoleApplication1.ITestClass | |
{ | |
//dynamic fooLambda = () => { return "foo"}; | |
//dynamic fooAnonDelegate = delegate() { return "foo" }; | |
//Those don't work "Cannot convert lambda to 'dynamic' because it | |
//is not a delegate type | |
public TakeSomeFoo TakeSome = () =>{ return "foo"; }; | |
public delegate string TakeSomeFoo(); | |
public string fooBar { get; set; } |
NewerOlder