11
shouts

C# 4.0 - Optional Parameters

published 129 days, 5 hours, 1 minute ago posted by http://jalpesh.blogspot.com/http://jalpesh.blogspot.com/ 130 days, 4 hours, 56 minutes ago
Monday, November 09, 2009 12:14:23 PM GMT Sunday, November 08, 2009 12:19:08 PM GMT

With .net framework 4.0 and C# 4.0 also introduces a new feature called optional parameters it was there in VB since visual basic 6.0. But it is now available in the C# with 4.0 version. Optional parameter will be become very handy when you don't want to pass some parameter and just you need the default value. For that Till C# 3.0 we need to create overloaded functions where we creating function with different argument with same function name. Let's see how its works Let's go through a simple scenario w...

category: ASP.NET | clicked: 36 | | source: jalpesh.blogspot.com | show counter code