HOW TO RETURN VALUE FROM FUNCTION? (c#)
- by Ole Jak
So... I want to return value when C# function is called. I need a code example (simple summ of a,b values will be ok) Please help
I need something like this ( I know ActionScript so I will write in it):
        public function sum(valueA:int, valueB:int):int 
        {
            var summ:int = valueA + valueB;
            return summ;
        }
How to translate it into C#?