Tuesday, April 22, 2014

What is sparse array?

a sparse array is an array in which most of the elements have the same value (known as the default value—usually 0 or null).

How to render an action without layout in ASP.NET MVC?

    public class HomeController : Controller
        public string Create()
     return "Hello";
There are a couple of other ways:
Change Layout default setting etc.
But return a string or json result, it is great way in some scenarios.