Method return an interface

前端 未结 6 1020
青春惊慌失措
青春惊慌失措 2021-02-02 01:18

Hi All,

I\'m thinking in this line of code

IDataReader myReader = questDatabase.ExecuteReader(getQuest);

I\'m using DA

6条回答
  •  不知归路
    2021-02-02 01:33

    It's not returning an Interface per se, but instead an object that supports that interface.

提交回复
热议问题