- What does the C# keyword void mean?
Answer: It indicates that a method has no return value.
- How many parameters can a method have?
Answer: A method with 16,383 parameters can be compiled, run, and called. Any more than that and an unstated exception is thrown at runtime. IL has predefined opcodes to load up to four parameters and a special opcode to load up to 16-bit (65,536) parameters. The best practice is to limit your methods to three or four parameters. You can combine multiple parameters into a new class to encapsulate them into a single parameter. You can find more information on this at the following site:
http://stackoverflow.com/questions/12658883/what-is-the-maximum-number-of-parameters-that-a-c-sharp-method-can-be-defined-as
- In Visual Studio 2017, what is the difference between pressing F5, Ctrl + F5...