Skip to main content

Posts

Showing posts with the label SOLID Principle

SOLID Principle

SOLID PRINCIPLE Single Responsibility Principle Fully Loaded Single Responsibility Principle class Customer    {         public void Add()         {             try             {                // Database code goes here          }             catch (Exception ex)             {                          System.IO.File.WriteAllText(@"c:\Error.txt", ex.ToString());       ...