optional parameter in c# 4
- by anirudha
public static string name(int name=4)
{
// code logic here
}
this advanced feature only include in Vc# 4. if you call it name() then he accept by default 4 and if you call it name(5) then he accept 5