Horje
solid principles c# Code Example
solid principles c#
// solid principles
S: is single responsibility principle (SRP) 
   A class should take care of a Single Responsibility
   
O: stands for open closed principle (OCP) 
   Prefer extension over modification
   
L: Liskov substitution principle (LSP)
   The parent class should be able to refer child objects seamlessly during runtime polymorphism
     
I: interface segregation principle (ISP)
   A client should not be forced to use an interface, if it doesn’t need it 
   
D: Dependency injection principle (DIP)
   High level modules should not depend on low-level modules, but should depend on abstraction.




Csharp

Related
how to call method in different project in c# visual studio Code Example how to call method in different project in c# visual studio Code Example
design pattern for so many conditions c# Code Example design pattern for so many conditions c# Code Example
unity stack overflow error Code Example unity stack overflow error Code Example
cmd command see which groups a user is in Code Example cmd command see which groups a user is in Code Example
prevent C# app from lingering after closing in background processes Code Example prevent C# app from lingering after closing in background processes Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12