Need to know about Optional and positional parameter in C# [Resolved]

Posted by Amatya under C# on 4/19/2017 | Points: 10 | Views : 129 | Status : [Member] | Replies : 1
Need to know about Optional and positional parameter in C#. Please give an example to explain it.
Thanks in Advance

Amatya

Feel free to share informations 9731764134
mail Id ' adityagupta200@gmail.com
Thanks



Responses

Posted by: Jitendrasoft09 on: 5/14/2017 [Member] [MVP] Starter | Points: 50

Up
1
Down

Resolved
Need to set default value in parameter to make optional and no need to look order of parameter in positional parameter.
Example shared-
https://www.codeproject.com/Articles/1007201/Named-and-Optional-Arguments-In-Csharp

Jitendra Kumar
If my post helps you, plz mark as an answer.

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response