Creating IStream object in C#

前端 未结 4 1970
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-14 07:18

I\'m writing a project and working with another party DLL.

Function from their DLL wants an IStream object to save result, but I can\'t understand how to create an I

4条回答
  •  囚心锁ツ
    2021-01-14 07:47

    IStream I assume is an interface. You cannot create an instance from an interface directly, rather you create an instance of an object that implements that interface (or create your own object that implements IStream).

提交回复
热议问题