Musings
Public · Protected · Private
Invoking Methods using Named Parameters
-
2012-06-12 09:58private void foo(int first, int second, int third) { int y = first + second + third; } calling above method like below is legal. foo(first: 12, third: 14, second: 21); parameters are treated here as name value pairs and order is not important.
This blog is frozen. No new comments or edits allowed.