c# - what does it mean new int[] in cSharp? -
i got line in c# code written :
new int[] mystore;
i don't know means how translate valid c++?
only possible place such code hiding/shadowing member of parent class same name:
class base { protected int[] mystore; } class derived: base { new int[] mystore; }
you should able port directly c++ - have similar rules hiding.
note (thanks jeroen vannevel) don't need have base class: can mark property new
, warning "nothing hide".
Comments
Post a Comment