Favorite? I would't say I like it, but this is the classic:

ICollection<string> a = new [] { "go ahead and try to add something...after
all, I implement ICollection<>" ];
a.Add("ha ha!");

--c


On Wed, Mar 9, 2011 at 16:46, Aeden Jameson <[email protected]> wrote:

> What are your favorite examples of  violations of Liskov in the .NET
> framework?
>
> --
> Cheers,
> Aeden
>
> Blog : http://aedenjameson.blogspot.com/
> Linked In: http://www.linkedin.com/in/aedenjameson
> Blah Blah Blah: http://www.twitter.com/daliful
> Facebook : http://www.facebook.com/aeden.jameson
>
> --
> You received this message because you are subscribed to the Google Groups
> "Seattle area Alt.Net" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/altnetseattle?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Seattle area Alt.Net" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/altnetseattle?hl=en.

Reply via email to