is a syntax (or whatever) that i don't understand , see :
Tapsell.SetRewardListener((TapsellAdFinishedResult result) =>
{
// you may give rewards to user if result.completed and
// result.rewarded are both true
}
);
this part with " => " i dont get it, how there is a code with action as an input of a function ? if it is too much to explain please tell me the name of something and i'll watch some tutorials
google "delegates, lambda expressions c#"
It's called Lambda, and it's related to Anonymous
Обсуждают сегодня