KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Example: public int foo(int x, int optionalY = 1, int optionalZ = 2) { ... } I'd like to call it like this: int returnVal = foo(5,,8); In other words, I want to provide x and z , but I want to use the default for Y , optionalY = 1. Visual Studio does not like the ,, Please help.
Tags (comma-separated)
Save Edits
Cancel