Hi
I am using Substitution Contol in asp.net and i have saw an video tutorial on youtube.com for that and that a method called GetNum and passing as argument HttpContext , can any one tell me why use this and what is the functionality of that..............?
public static string GetNum(HttpContext context)
{
return (a + b).ToString();
}


Sam HobbsRank #107 · 20.5K reputationPosted Mar 17, 2012, 4:22 PM EDT
VulpesRank #55 · 29.2K reputationPosted Mar 18, 2012, 5:25 AM EDT
Also, it will only work if both 'a' and 'b' are static numeric fields of the same class.