¡@

Home 

c# Programming Glossary: swim

Can you explain Liskov Substitution Principle with a good C# example?

http://stackoverflow.com/questions/4428725/can-you-explain-liskov-substitution-principle-with-a-good-c-sharp-example

structure which violates LSP public interface IDuck void Swim contract says that IsSwimming should be true if Swim has been.. LSP public interface IDuck void Swim contract says that IsSwimming should be true if Swim has been called. bool IsSwimming.. void Swim contract says that IsSwimming should be true if Swim has been called. bool IsSwimming get public class OrganicDuck..

Have trivial properties ever saved your bacon?

http://stackoverflow.com/questions/205568/have-trivial-properties-ever-saved-your-bacon

for not following convention Why do you feel the need to swim upstream What has it saved you by not doing this share improve..

Can you explain Liskov Substitution Principle with a good C# example?

http://stackoverflow.com/questions/4428725/can-you-explain-liskov-substitution-principle-with-a-good-c-sharp-example

class OrganicDuck IDuck public void Swim do something to swim bool IsSwimming get return if the duck is swimming public class.. to swim bool IsSwimming get return if the duck is swimming public class ElectricDuck IDuck bool _isSwimming public.. public void Swim if IsTurnedOn return _isSwimming true swim logic public IsSwimming get return _isSwimming And the calling..