C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
7
Reply
What is SOLID principles in class designing ?
Anil Kumar
13y
3.9k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
The five design principles the SOLID acronym stands for are, using Andras' brief description:Single Responsibility Principle states that every object should only have one reason to change, i.e. every object should perform one thing only. Open-Closed Principle states that classes should be open for extension and closed for modification. Liskov Substitution Principle states that you should be able to use a derived class in place of a parent class and it must behave in the same manner. Interface Segregation Principle states that clients should not be forced to depend on interfaces they do not use. Dependency Inversion Principle helps to decouple your code by ensuring that you depend on abstractions rather than concrete implementations.
Shivam Shukla
10y
1
http://www.infoq.com/news/2013/08/solid-principles-revisited
Shivam Shukla
10y
1
S-Single responsibility principle. (A class should have only a single responsibility.)O-Open/closed principle (software entities … should be open for extension, but closed for modification.)L-Liskov substitution principle (objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.)I-Interface segregation principle (many client-specific interfaces are better than one general-purpose interface)D-Dependency inversion principle (one should Depend upon Abstractions. Do not depend upon concretions.Dependency injection is one method of following this principle.)
Anurag Agarwal
12y
1
SOLID are five basic principles whichhelp to create good software architecture. SOLID is an acronym where:-S stands for SRP (Single responsibility principle O stands for OCP (Open closed principle) L stands for LSP (Liskov substitution principle) I stands for ISP ( Interface segregation principle) D stands for DIP ( Dependency inversion principle)
kailash urmliya
9y
0
I have recently found a very nice article on this topic at the below link: http://www.codeproject.com/Articles/703634/SOLID-architecture-principles-using-simple-Csharp
Naresh Avari
11y
0
http://www.codeproject.com/Articles/60845/The-S-O-L-I-D-Object-Oriented-Programming-OOP-Prin
Shweta Lodha
11y
0
http://www.infoq.com/news/2013/08/solid-principles-revisited/
Munesh Sharma
11y
0
Message