I
Ido.Yehieli
Hi all,
I'm new to c# and .net and I have a few questions I did not manage to
find an answer to:
1. what is the equivalent to the "exec" command in python/lisp?
meaning: a string is given as input and the function execute it as a C#
expression
2. what is the equivalent to the "eval" command in python/lisp?
meaning: a string is given as input and is parsed and evaluated as a C#
expression
3. how do i pass functions as parameters to other functions or save
them in a variable? i.e.:
static bla(){/*do stuff*/}
....
somthing = bla
someFunction(bla)
thank you in advance,
Ido.
I'm new to c# and .net and I have a few questions I did not manage to
find an answer to:
1. what is the equivalent to the "exec" command in python/lisp?
meaning: a string is given as input and the function execute it as a C#
expression
2. what is the equivalent to the "eval" command in python/lisp?
meaning: a string is given as input and is parsed and evaluated as a C#
expression
3. how do i pass functions as parameters to other functions or save
them in a variable? i.e.:
static bla(){/*do stuff*/}
....
somthing = bla
someFunction(bla)
thank you in advance,
Ido.