Is it possible to provide a ref and out keyword to the action method in ASP.NET MVC? If yes how it is and if not what is the reason?
Shrimant Telgave
Select an image from your device to upload
Example:
public class HomeController : Controller { public string Index(ref int id) { return "This is Index Method" + id; }}
public class HomeController : Controller
{
public string Index(ref int id)
return "This is Index Method" + id;
}
ref and out variable store address of the value.
So it not possible to pass address of variable using url or other way.