Created
March 6, 2023 11:28
-
-
Save jskeet/e34a1e55d00d0a4d6e96c2c6dc42b495 to your computer and use it in GitHub Desktop.
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
delegate void SampleDelegate(string text); | |
class Test | |
{ | |
static void Main() | |
{ | |
string x = ""; | |
var del = new SampleDelegate(Method, x); | |
} | |
static void Method(string text) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment