¡@

Home 

c# Programming Glossary: testoptional

C# 4.0, optional parameters and params do not work together

http://stackoverflow.com/questions/3948971/c-sharp-4-0-optional-parameters-and-params-do-not-work-together

and params together static void Main string args TestOptional A C D E this will not build TestOptional A C D this does work.. Main string args TestOptional A C D E this will not build TestOptional A C D this does work but i can only set 1 param Console.ReadLine.. i can only set 1 param Console.ReadLine public static void TestOptional string A int B 0 params string C Console.WriteLine A Console.WriteLine..