­
C#

Params in C# - easy to use tutorial

2:59 PM
There is interesting concept in C# - params. Here is the refference in MSDN Lets assume you want do create method that should add numbers and return a result. In our regular way we can build it as following: private int sumAllNumbers(int num2) { int sum = sumAllNumber(1, 2); return sum; } Such approach has some limits and not flexibale enough, because in...

Read More...

Popular Posts

Total Pageviews