C # succession is Gesha

inherit:

   Literally means inheritance

   As landlords have 500 acres of land Pharaoh, Pharaoh's son Wang can be planted five acres of land can easily take anything above five acres of land

  

  As Controller

  You call another controller to use things from inside a controller, but you have to let the computer know you're going to call the fool

   controller name you want to call: public class your controller

  If you inherit something which he had inherited something you can call 

   To say you inherited your father's property, your father inherited your grandfather's property, you can also use your grandfather's property

    

namespace NFine.Web.Areas.WareHouse.Controllers
{

         // This is the inheritance of the controller in front of my name behind my name to inherit controller
public class StockInformationController: ControllerBase
{

}

}

Guess you like

Origin www.cnblogs.com/lichangqing1997/p/11353892.html