since you all know that in C # 3.5 there is a new concept, i.e. anonymous type. how to create an anonymous type that implements one interface. In fact, when writing UT for my component, as well as to improve line coverage, I need this.
Please help me with this.
source
share