一般有2种方式:
1
private IView _view;
private Model _model;
private IService _service;
public Presenter()
{
_view = new View();
_service = new Service();
}
2
private IView _view;
private Model _model_view = new View();;
private IService _service _service = new Service();;
请问这2种有区别吗,如果没区别的话,哪种好,为什么呢,请大家不吝赐教,在下先行谢过
暮色呼如
慕桂英4014372