Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DELEGATE
- public delegate void SimpleDelegate(string param);
- class ....
- {
- SimpleDelegate d = new SimpleDelegate(TestMethod); or SimpleDelegate d = Console.ReadLine();
- d += Console.ReadLine();
- d("text");
- }
- FUNCTION returns last type
- Func<string, int> predefinedIntParse = int.Parse;
- ACTION void methods
- Action<object> predefinedAction = Console.WriteLine;
Advertisement
Add Comment
Please, Sign In to add comment