Khargesh Rajput
what happened if we pass optional paramater in 3.5 or older version
By Khargesh Rajput in C# on May 28 2015
  • Khargesh Rajput
    Jun, 2015 16

    but before 3.0 framework optional parameter is not supported http://forums.asp.net/t/1469867.aspx?Optional+parameters+in+C+3+

    • 2
  • Rajesh Singh
    Dec, 2015 5

    It will give compilation error. It is not supported in 3.5.

    • 0
  • Pankaj  Kumar Choudhary
    Jul, 2015 19

    Optional parameter is a C# 4.0 language feature included with Visual Studio 2010 or .Net framework 4.0. So .Net framework 3.5 or older version will not allow to compile optional parameter.

    • 0
  • Sujeet Suman
    Jun, 2015 17

    Optional parameter is a C# 4.0 language feature included with Visual Studio 2010 or .Net framework 4.0. So .Net framework 3.5 or older version will not allow to compile optional parameter.

    • 0
  • Khan Abrar Ahmed
    Jun, 2015 16

    Optional parameter is nullable type if you pass the parameter value then compiler will take the value , else compiler will take defualt value and there is not .net framework dependency.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS