[Mono-ue] How to assign IList to IList

Ahmet Faruk GÜNTÜRKÜN vadsl05 at gmail.com
Mon Jan 12 18:40:54 UTC 2015


I have at class which name is AoE derived from BaseSpell which have virtual
Init() function :

public IList<AoEDamageVarience> DamageVarience { get; set; }

public override void Init(AoE _aoe){
DamageVarience = aoe.DamageVarience;
}

There is error when I compiling the codes. If I delete "DamageVarience =
aoe.DamageVarience; " there is any error. How can assign IList to IList ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-ue/attachments/20150112/873b270e/attachment.html>


More information about the Mono-ue mailing list