1
Reply

In how many ways you can pass parameters to a method in c# ?

    We can categorize method parameters in various parts. Some of them are: Named Parameters (C# 4.0 and above) Ref Parameter (Passing Value Types by Reference) Out Parameters Default Parameters or Optional Arguments (C# 4.0 and above) Dynamic parameter (dynamic keyword). Value parameter or Passing Value Types by Value (normal C# method param are value parameter) Params (params)