+ 3
Is there any way to assign functions to variables in c#, like in Python?
6 Answers
+ 4
Apologies... it's late here!
Does the following work?
https://stackoverflow.com/questions/7056041/can-you-assign-a-function-to-a-variable-in-c?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
+ 4
yes, but with c#
+ 4
soso
+ 3
It looks like there isn't a perfect equivalent, but instead that hack mentioned.
0
Check delegate in C#