Hi..
Ques : Hello friend please Explain current thinking around IClonable in ASP.NET.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shen HengbinPosted Feb 28, 2012, 9:15 PM
http://www.diranieh.com/NETCSharp/EffectiveCS.htm#27._Avoid_ICloneable
And also if you have used ICloneable in your base class which is not sealed , there is a bug with it.
Because it is not type safe , the sub class's default Clone() would return parent class not itself.
VulpesPosted Feb 28, 2012, 7:03 PM