In the Lua language you can create a function that receives another function as an argument, for example:
exemplo = function(outrafunction)
outrafunction()
end
exemplo(function print("alguma coisa") end)
Is there any way to do this using C #?