Tag Archives: C#

Covariance and Contravariance in C#4.0

Introduction In this whole artcile we will learn all about Covariance and Contracvariance, what were the issues with development before these two. Definition These two Covariance and Contravariance have been introduced in C#4.0. As per msdn we simply define: “covariance and contravariance enable implicit reference conversion for array types, delegate types, and generic type arguments.

Read More

Learning The S.O.L.I.D Programming Principles: Dependency inversion principle [Part – VI]

History: In our previous posts we learned ‘What is S.O.L.I.D. Programing Principles’ and a detailed explalantion with code of Single Responsibility Principle, Open/closed Principle, Liskov Substitution Principle and Interface Segregation Principle. S.O.L.I.D. is an acronym introduced by Michael Feathers as: S for SRP: Single responsibility principle O for OCP: Open/closed principle L for LSP: Liskov

Read More

Learning The S.O.L.I.D Programming Principles: Interface segregation principle [Part – V]

History: In our previous posts we learned ‘What is S.O.L.I.D. Programing Principles’ and a detailed explalantion with code of Single Responsibility Principle, Open/closed Principle and Liskov Substitution Principle. S.O.L.I.D. is an acronym introduced by Michael Feathers as: S for SRP: Single responsibility principle O for OCP: Open/closed principle L for LSP: Liskov substitution principle I

Read More

Learning The S.O.L.I.D Programming Principles: Liskov substitution principle [Part – IV]

History: In our previous posts we learned ‘What is S.O.L.I.D. Programing Principles’ and a detailed explanation with code of Single Responsibility Principle and Open/closed Principle. S.O.L.I.D. is an acronym introduced by Michael Feathers as: S for SRP: Single responsibility principle O for OCP: Open/closed principle L for LSP: Liskov substitution principle I for ISP: Interface

Read More

Learning The S.O.L.I.D Programming Principles: Open Closed Principle [Part – III]

History: In our previous posts we learned ‘What is S.O.L.I.D. Programing Principles’ and a detailed explanation with code of Single Responsibility Principle. S.O.L.I.D. is an acronym introduced by Michael Feathers as: S for SRP: Single responsibility principle O for OCP: Open/closed principle L for LSP: Liskov substitution principle I for ISP: Interface segregation principle D

Read More

Learning The S.O.L.I.D Programming Principles: Single responsibility principle [Part – II]

History: In our previous ‘Learning The S.O.L.I.D Programming Principles: Overview [Part – I]’, we have learned all about S.O.L.I.D: it is an acronym introduced by Michael Feathers as: S for SRP: Single responsibility principle O for OCP: Open/closed principle L for LSP: Liskov substitution principle I for ISP: Interface segregation principle D for DIP: Dependency

Read More

Validation Controls

In this guest video post Meetu Choudhary is going to define all about asp.net validation controls. Meetu is not only an MVP but also she is the first female MVP of Jaipur, she is running many Technical portals like: Jaipurmentor, msdotnetmentor.