Tag: Optional argument
-
Method Caller Information in C Sharp 5.0
Before we understand Method Caller Information feature of C# 5.0, we need to understand Optional Parameter feature of C# 4.0. C Sharp 4.0 introduced Optional Parameter feature . According to this feature, in function call only required parameters are needed to be passed. If value of Optional Parameters are not provided then they will take…
-
Optional Argument in C# 4.0
Objective This article will give a very basic introduction of Optional Argument in C#4.0. This article will explain how Operation overloading and Optional Argument is different with samples. This article will give different syntax with Named parameter to work with Optional arguments. Optional Argument Five facts about Optional Parameter Each Optional Parameter has a default…