Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Leveraging Interfaces and Extension Methods To Extend Your Classes

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 186
    Comment on it

    Leveraging Interfaces and Extension Methods To Extend Your Classes

    Why always look to create new classes or functions in a class when we can extend existing classes. I found these two (Interfaces & Extension methods) very strong practices to support this approach. We have long history of Interfaces, please also check how useful Extensions methods are.

    Extension methods provide a great way for extending a class functionality -- but it's interfaces that let you use those methods anywhere you want.

    Extension methods gives you advancement and interfaces gives you power to extend. Good to keep both these options handy when designing a solution.

    http://visualstudiomagazine.com/articles/2014/08/01/leveraging-interfaces.aspx

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: