In C#, the interface can be instantiated?

前端 未结 7 1912
孤街浪徒
孤街浪徒 2021-01-20 21:29

I\'m reading the code in here. I find that private ITreeModel _model; in TreeList.cs:

namespace Aga.Controls.Tree
{
    public class TreeList: L         


        
7条回答
  •  悲哀的现实
    2021-01-20 21:59

    No _model is an interface reference to instance of a class object which implements ITreeModel

提交回复
热议问题