Another new feature in 4.O FrameWork, Name Parameter,Let see in the Below Sample how to pass the parameter.
protected void Page_Load(object sender, EventArgs e)
{
foreach (int i in Add( n1:20,n2:60))
{
Response.Write(i.ToString() + " ");
}
}
public static IEnumerable Add(int n1, int n2)
{
return i*i;
}
Author:
Aamir Hasan औथोर:
आमिर हसन أثر
أمير حسن .
5c959194-cc88-4a3c-84d0-b83e7180c420|0|.0
ALL, asp.net, asp.net 4.0, CSharp
asp.net, framework 4.o