{"id":22093,"date":"2023-07-31T15:53:13","date_gmt":"2023-07-31T10:23:13","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=22093"},"modified":"2023-07-31T15:53:14","modified_gmt":"2023-07-31T10:23:14","slug":"5-common-violations-of-solid-principles-in-csharp-code","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/5-common-violations-of-solid-principles-in-csharp-code\/","title":{"rendered":"5 Common Violations of Solid Principles in C# Code"},"content":{"rendered":"<p><html amp=\"\" lang=\"en\"><head><meta charSet=\"utf-8\"\/><meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\"\/><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0.js\"><\/script><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0\/amp-story-1.0.js\" custom-element=\"amp-story\"><\/script><link href=\"https:\/\/fonts.googleapis.com\/css2?display=swap&amp;family=Anton&amp;family=Darker+Grotesque%3Awght%40400%3B700&amp;family=IBM+Plex+Serif%3Awght%40700&amp;family=Roboto&amp;family=Poppins%3Awght%40700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=7188&amp;h=4797&amp;fit=max\" rel=\"preload\" as=\"image\"\/>\n<style amp-boilerplate=\"\">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}<\/style>\n<p><noscript><\/p>\n<style amp-boilerplate=\"\">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}<\/style>\n<p><\/noscript><\/p>\n<style amp-custom=\"\">\n              h1, h2, h3 { font-weight: normal; }<\/p>\n<p>              amp-story-page {\n                background-color: #131516;\n              }<\/p>\n<p>              amp-story-grid-layer {\n                overflow: visible;\n              }<\/p>\n<p>              @media (max-aspect-ratio: 9 \/ 16)  {\n                @media (min-aspect-ratio: 320 \/ 678) {\n                  amp-story-grid-layer.grid-layer {\n                    margin-top: calc((100% \/ 0.5625 - 100% \/ 0.6666666666666666) \/ 2);\n                  }\n                }\n              }<\/p>\n<p>              @media not all and (min-resolution:.001dpcm) {\n                @media {\n                  p.text-wrapper > span {\n                    font-size: calc(100% - 0.5px);\n                  }\n                }\n              }<\/p>\n<p>              .page-fullbleed-area,\n              .page-background-overlay-area {\n                position: absolute;\n                overflow: hidden;\n                width: 100%;\n                left: 0;\n                height: calc(1.1851851851851851 * 100%);\n                top: calc((1 - 1.1851851851851851) * 100% \/ 2);\n              }<\/p>\n<p>              .element-overlay-area {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n              }<\/p>\n<p>              .page-safe-area {\n                overflow: visible;\n                position: absolute;\n                top: 0;\n                bottom: 0;\n                left: 0;\n                right: 0;\n                width: 100%;\n                height: calc(0.84375 * 100%);\n                margin: auto 0;\n              }<\/p>\n<p>              .mask {\n                position: absolute;\n                overflow: hidden;\n              }<\/p>\n<p>              .fill {\n                position: absolute;\n                top: 0;\n                left: 0;\n                right: 0;\n                bottom: 0;\n                margin: 0;\n              }<\/p>\n<p>              @media (prefers-reduced-motion: no-preference) {\n                .animation-wrapper {\n                  opacity: var(--initial-opacity);\n                  transform: var(--initial-transform);\n                }\n              }<\/p>\n<p>              amp-story-grid-layer.align-bottom {\n                align-content: end;\n                padding: 0;\n              }<\/p>\n<p>              .captions-area {\n                padding: 0 32px 0;\n              }<\/p>\n<p>              amp-story-captions {\n                margin-bottom: 16px;\n                text-align: center;\n              }<\/p>\n<p>              amp-story-captions span {\n                display: inline-block;\n                margin: 0;\n                padding: 6px 12px;\n                vertical-align: middle;\n                border-radius: 15px;\n                background: rgba(11, 11, 11, 0.6);\n                color: rgba(255, 255, 255, 1);\n                font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;;\n                font-size: calc(4 * var(--story-page-vw));\n                line-height: 1.4;\n                word-break: break-word;\n                word-wrap: break-word;\n                overflow-wrap: break-word;\n              }\n              <\/style>\n<p><meta name=\"web-stories-replace-head-start\"\/><title>5 Common Violations of Solid Principles in C# Code<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/web-stories\/5-common-violations-of-solid-principles-in-csharp-code\/\"\/><meta name=\"web-stories-replace-head-end\"\/><\/head><body><amp-story standalone=\"\" publisher=\"InterviewBit\" publisher-logo-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/cropped-tumblr-logo.png\" title=\"5 Common Violations of Solid Principles in C# Code\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/07\/cropped-10-Common-Violations-of-Solid-Principles-in-C-Code.jpg\"><amp-story-page id=\"c3d931ef-165e-4b4c-b90f-57895ba27a3b\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#d9d9d9\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6d11f7dd-7de3-4a44-8e48-e884bd5c50b1\">\n<div style=\"position:absolute;width:266.38872%;height:100%;left:-83.19436%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=7188&amp;h=4797&amp;fit=max\" alt=\"two babies and woman sitting on sofa while holding baby and watching on tablet\" srcSet=\"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=7188&amp;h=4797&amp;fit=max 7188w,https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5750&amp;h=3837&amp;fit=max 5750w,https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4312&amp;h=2878&amp;fit=max 4312w,https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2875&amp;h=1919&amp;fit=max 2875w,https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1437&amp;h=959&amp;fit=max 1437w,https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:3.8835%;top:71.52104%;width:92.23301%;height:27.02265%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5263157894736842% 0.5263157894736842% 0.5263157894736842% 0.5263157894736842% \/ 1.1976047904191618% 1.1976047904191618% 1.1976047904191618% 1.1976047904191618%;background-clip:content-box;background-color:rgba(201,24,74,0.4)\" id=\"el-03fbe691-5f4e-45f9-b7a6-caed053aec19\">\n<h2 id=\"common-violations-of-solid-principles-in-c-code\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.293546977796052% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:0.695793em;line-height:1.1;text-align:left;padding:1.0526315789473684% 2.1052631578947367%;color:#000000\"><span><span style=\"color: #fff\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Common Violations of Solid Principles in C# Code<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-5fffc8bd-a838-494b-950f-cf45bed2fe06\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.76699%;top:58.57605%;width:45.14563%;height:27.99353%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.0752688172043012% 1.0752688172043012% 1.0752688172043012% 1.0752688172043012% \/ 1.1560693641618496% 1.1560693641618496% 1.1560693641618496% 1.1560693641618496%\" id=\"el-9a0ce65a-b005-4223-b48b-f6997d8c4a84\">\n<h1 id=\"5\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:9.749375210013442% 0;font-family:&quot;Anton&quot;,sans-serif;font-size:1.860841em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #c9184a\">5<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"e4eef050-7164-497b-b33e-f474f2499341\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-fd4f0b95-c00e-4b96-9867-3694e1661d9f\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-12a5bfa1-7aca-4bbb-9ead-dd94379414fd\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bc3eecc4-b2ab-4700-ac1e-d4fe40d44ac5 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-aa79feb8-056c-47ea-a071-26dc30f92565\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-451b6937-77b0-46af-85be-5ab44889a214\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#262626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-bc3eecc4-b2ab-4700-ac1e-d4fe40d44ac5\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-9e30c256-6e45-411e-9766-46da747497d1\">\n<div style=\"position:absolute;width:118.57814%;height:100%;left:-9.28907%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max\" alt=\"smiling man sitting on chair inside room\" srcSet=\"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5304&amp;h=7952&amp;fit=max 5304w,https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4243&amp;h=6361&amp;fit=max 4243w,https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3182&amp;h=4771&amp;fit=max 3182w,https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2121&amp;h=3180&amp;fit=max 2121w,https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1060&amp;h=1589&amp;fit=max 1060w,https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-4904a6d5-b94a-470f-a791-51a2e50af91e\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:64.23948%;width:91.74757%;height:22.16828%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-fd4f0b95-c00e-4b96-9867-3694e1661d9f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-12a5bfa1-7aca-4bbb-9ead-dd94379414fd\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 1.4598540145985401% 1.4598540145985401% 1.4598540145985401% 1.4598540145985401%;background-clip:content-box;background-color:rgba(69,69,69,0.5)\" id=\"el-b81fd0cc-b97e-4859-9189-3b76a18de7ca\">\n<h3 id=\"breaking-srp-can-lead-to-bloated-classes-with-multiple-responsibilities-splitting-responsibilities-into-separate-classes-enhances-code-readability-and-maintainability\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.568253968253968% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.420712em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #fff\">Breaking SRP can lead to bloated classes with multiple responsibilities. Splitting responsibilities into separate classes enhances code readability and maintainability<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:89.4822%;width:100%;height:7.44337%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 4.3478260869565215% 4.3478260869565215% 4.3478260869565215% 4.3478260869565215%\" id=\"el-a016a8f5-f39e-46e1-ab63-a73b11e2d18f\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.1067961165048545% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.323625em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Interested in learning about SOLID Principles&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">in C#?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:51.94175%;width:91.74757%;height:12.29773%;opacity:1\">\n<div id=\"anim-aa79feb8-056c-47ea-a071-26dc30f92565\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-451b6937-77b0-46af-85be-5ab44889a214\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 2.631578947368421% 2.631578947368421% 2.631578947368421% 2.631578947368421%;background-clip:content-box;background-color:rgba(0,0,0,0.5)\" id=\"el-b92ee131-7164-4672-b8a7-66994a4d292a\">\n<h2 id=\"1-single-responsibility-principle-srp\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8095238095238095% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #ff4d6d\">1. Single Responsibility Principle (SRP)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"66f99e3c-e65f-49e0-a82f-81cd52305ea3\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-27775dac-c265-4df7-a501-cba85c598392 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-542ac920-7e56-4b4d-a155-213a1b13443b\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-ebc51297-5418-4483-9cf6-dc654e61b65f\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-fe6d03f5-2886-4ba7-852d-ad6bae1dd4d9\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-fd04964e-55c6-4a72-9755-2fc704064e45\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3f3f3\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-27775dac-c265-4df7-a501-cba85c598392\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-42e03b95-66db-4ae0-8ea3-f759aab07c39\">\n<div style=\"position:absolute;width:118.67612%;height:100%;left:-9.33806%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max\" alt=\"woman using MacBook and wearing yellow headphones\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4016&amp;h=6016&amp;fit=max 4016w,https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3212&amp;h=4812&amp;fit=max 3212w,https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2409&amp;h=3609&amp;fit=max 2409w,https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1606&amp;h=2406&amp;fit=max 1606w,https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=803&amp;h=1203&amp;fit=max 803w,https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=509&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-98a06315-42d1-420c-af84-13e22adb56f8\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:59.87055%;width:91.74757%;height:22.16828%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-542ac920-7e56-4b4d-a155-213a1b13443b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-ebc51297-5418-4483-9cf6-dc654e61b65f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 1.4598540145985401% 1.4598540145985401% 1.4598540145985401% 1.4598540145985401%;background-clip:content-box;background-color:rgba(69,69,69,0.5)\" id=\"el-08626cfb-1b30-43f4-bff6-45fe68f45e19\">\n<h3 id=\"violating-ocp-can-make-code-fragile-and-hard-to-extend-designing-modules-that-are-open-for-extension-but-closed-for-modification-promotes-code-reusability\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.568253968253968% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.420712em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #fff\">Violating OCP can make code fragile and hard to extend. Designing modules that are open for extension but closed for modification promotes code reusability.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:4.36893%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 7.4074074074074066% 7.4074074074074066% 7.4074074074074066% 7.4074074074074066%\" id=\"el-834d0b1b-1de8-441a-8645-94192cc2cb6a\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.1067961165048545% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.323625em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Why should you utilize SOLID design principles?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:51.94175%;width:91.74757%;height:7.9288%;opacity:1\">\n<div id=\"anim-fe6d03f5-2886-4ba7-852d-ad6bae1dd4d9\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-fd04964e-55c6-4a72-9755-2fc704064e45\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 4.081632653061225% 4.081632653061225% 4.081632653061225% 4.081632653061225%;background-clip:content-box;background-color:rgba(0,0,0,0.5)\" id=\"el-77c2725f-bad9-4a70-964a-29a18227c8c7\">\n<h2 id=\"2-open-closed-principle-ocp\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8095238095238095% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #ff4d6d\">2. Open\/Closed Principle (OCP)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Machine-Learning-Projects.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"0edabcaa-afc4-4583-b24e-108a43910587\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-b5d9e9f6-7e79-428c-9e03-aadf4b4b6e7d\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-64fb094d-e993-4401-bf58-414b25d159df\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-bcb35962-2fe4-4de0-9794-f4c7ce1b707b [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(7.105427357601002e-15%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-dc046de8-341c-4550-80c1-97193dc0375e\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-7b63f90a-d94d-4b55-97ed-fa1b94efa3ef\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#c08c73\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-bcb35962-2fe4-4de0-9794-f4c7ce1b707b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6427f400-8823-4d22-9daa-39112eba49a1\">\n<div style=\"position:absolute;width:118.50757%;height:100%;left:-9.25378%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3607&amp;h=5411&amp;fit=max\" alt=\"man in brown dress shirt holding black smartphone\" srcSet=\"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3607&amp;h=5411&amp;fit=max 3607w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2885&amp;h=4328&amp;fit=max 2885w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2164&amp;h=3246&amp;fit=max 2164w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1442&amp;h=2163&amp;fit=max 1442w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=721&amp;h=1082&amp;fit=max 721w,https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f4e78a89-f38f-4e99-aa80-fa776382a958\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:64.23948%;width:91.74757%;height:22.16828%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-b5d9e9f6-7e79-428c-9e03-aadf4b4b6e7d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-64fb094d-e993-4401-bf58-414b25d159df\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 1.4598540145985401% 1.4598540145985401% 1.4598540145985401% 1.4598540145985401%;background-clip:content-box;background-color:rgba(69,69,69,0.5)\" id=\"el-61813cda-61cb-4123-ad0e-61cba6b70a44\">\n<h3 id=\"violations-of-lsp-result-in-code-that-is-not-substitutable-with-its-base-types-ensuring-derived-types-adhere-to-the-same-behavior-as-their-base-types-improves-code-reliability\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.568253968253968% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.420712em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #fff\">Violations of LSP result in code that is not substitutable with its base types. Ensuring derived types adhere to the same behavior as their base types improves code reliability.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:51.94175%;width:91.74757%;height:12.29773%;opacity:1\">\n<div id=\"anim-dc046de8-341c-4550-80c1-97193dc0375e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-7b63f90a-d94d-4b55-97ed-fa1b94efa3ef\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 2.631578947368421% 2.631578947368421% 2.631578947368421% 2.631578947368421%;background-clip:content-box;background-color:rgba(0,0,0,0.5)\" id=\"el-6f122f59-4156-4615-bc84-b2fda2d862b3\">\n<h2 id=\"3-liskov-substitution-principle-lsp\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8095238095238095% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #ff4d6d\">3. Liskov Substitution Principle (LSP)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:89.4822%;width:100%;height:7.44337%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 4.3478260869565215% 4.3478260869565215% 4.3478260869565215% 4.3478260869565215%\" id=\"el-7f1432b8-bbc2-4af3-a65e-77acfdd3ebc1\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.1067961165048545% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.323625em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Curious to explore the advantages of&nbsp;<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">SOLID Principles?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"9d143c23-6124-4be9-88e4-da4315e5d825\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8294faac-df82-4367-a516-1a0b405b82b8\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5814d283-bf73-4514-9e32-d6bdb1e27370\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8e13f02b-8f89-4d0a-9eed-97f5ad355d4b [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(0%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d5c0647e-fef7-47ca-8048-b0a30d49c19a\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-144f3bbb-19c6-49a6-a7ad-aaad9958365f\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#f3d9d9\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-8e13f02b-8f89-4d0a-9eed-97f5ad355d4b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-099e1f0c-05a0-4bdf-b5ba-618c5a0527a3\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3812&amp;h=5718&amp;fit=max\" alt=\"a man sitting in front of a laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3812&amp;h=5718&amp;fit=max 3812w,https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3049&amp;h=4574&amp;fit=max 3049w,https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2287&amp;h=3431&amp;fit=max 2287w,https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1524&amp;h=2286&amp;fit=max 1524w,https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=762&amp;h=1143&amp;fit=max 762w,https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b265d57c-d800-4027-8b2b-9d3ab5fcaad8\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:64.23948%;width:91.74757%;height:22.16828%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-8294faac-df82-4367-a516-1a0b405b82b8\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-5814d283-bf73-4514-9e32-d6bdb1e27370\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 1.4598540145985401% 1.4598540145985401% 1.4598540145985401% 1.4598540145985401%;background-clip:content-box;background-color:rgba(69,69,69,0.5)\" id=\"el-7d798a12-d337-4a2e-a63f-5d537a51733d\">\n<h3 id=\"when-interfaces-are-not-tailored-to-specific-client-needs-it-leads-to-clients-depending-on-unnecessary-methods-creating-smaller-and-more-focused-interfaces-prevents-this-issue\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.568253968253968% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.420712em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #fff\">When interfaces are not tailored to specific client needs, it leads to clients depending on unnecessary methods. Creating smaller and more focused interfaces prevents this issue.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:51.94175%;width:91.74757%;height:12.29773%;opacity:1\">\n<div id=\"anim-d5c0647e-fef7-47ca-8048-b0a30d49c19a\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-144f3bbb-19c6-49a6-a7ad-aaad9958365f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 2.631578947368421% 2.631578947368421% 2.631578947368421% 2.631578947368421%;background-clip:content-box;background-color:rgba(0,0,0,0.5)\" id=\"el-56c7d6f1-86fe-4b20-a470-48a48086f27b\">\n<h2 id=\"4-interface-segregation-principle-isp\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8095238095238095% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #ff4d6d\">4. Interface Segregation Principle (ISP)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:89.4822%;width:100%;height:7.44337%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 4.3478260869565215% 4.3478260869565215% 4.3478260869565215% 4.3478260869565215%\" id=\"el-5064d594-1080-410d-a1fa-216d8eb2e095\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.1067961165048545% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.323625em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Looking for more information on SOLID Principles<\/span><br \/>\n<span style=\"font-weight: 700; color: #fff\">&nbsp;in C#?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"5ada0465-6650-424b-96cd-2481d3b48b5b\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c5171942-dd00-4aad-bb6f-95542a527f28 [data-leaf-element=\\\"true\\\"]\",\"keyframes\":{\"transform\":[\"translate(-1.0658141036401503e-14%, 0%) scale(1.5)\",\"translate(0%, 0%) scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-78a9f7f3-61e6-4ed7-a20c-5f642af065f0\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-cc71e4c9-1690-45ab-a6d6-6d6c1f8e5bb6\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8af8d7ef-472d-4115-ae3f-099fa635d551\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c5a3b90a-1a86-497f-9733-0a42a3eeb5ac\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#c0c0c0\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div id=\"anim-c5171942-dd00-4aad-bb6f-95542a527f28\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b55a8106-23b8-4ff4-a958-d3b491e9fc7c\">\n<div style=\"position:absolute;width:118.53333%;height:100%;left:-9.26667%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2667&amp;h=4000&amp;fit=max\" alt=\"woman in brown coat using macbook air\" srcSet=\"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2667&amp;h=4000&amp;fit=max 2667w,https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2133&amp;h=3199&amp;fit=max 2133w,https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1066&amp;h=1599&amp;fit=max 1066w,https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=533&amp;h=799&amp;fit=max 533w,https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-10757e8b-921f-44d4-8069-522c064eca14\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:64.23948%;width:91.74757%;height:22.16828%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-78a9f7f3-61e6-4ed7-a20c-5f642af065f0\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-cc71e4c9-1690-45ab-a6d6-6d6c1f8e5bb6\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 1.4598540145985401% 1.4598540145985401% 1.4598540145985401% 1.4598540145985401%;background-clip:content-box;background-color:rgba(69,69,69,0.5)\" id=\"el-4f447423-42ad-4971-9770-239a1cc9f166\">\n<h3 id=\"failing-to-depend-on-abstractions-rather-than-concrete-implementations-makes-code-tightly-coupled-and-difficult-to-test-applying-dip-promotes-loose-coupling-and-testability\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.568253968253968% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.420712em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #fff\">Failing to depend on abstractions rather than concrete implementations makes code tightly coupled and difficult to test. Applying DIP promotes loose coupling and testability.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:4.12621%;top:51.94175%;width:91.74757%;height:12.29773%;opacity:1\">\n<div id=\"anim-8af8d7ef-472d-4115-ae3f-099fa635d551\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-c5a3b90a-1a86-497f-9733-0a42a3eeb5ac\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5291005291005291% 0.5291005291005291% 0.5291005291005291% 0.5291005291005291% \/ 2.631578947368421% 2.631578947368421% 2.631578947368421% 2.631578947368421%;background-clip:content-box;background-color:rgba(0,0,0,0.5)\" id=\"el-72a3eef5-fcb1-4aa2-ba31-29b45c61daa0\">\n<h2 id=\"5-dependency-inversion-principle-dip\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.8095238095238095% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.485437em;line-height:0.9;text-align:left;padding:1.0582010582010581% 2.1164021164021163%;color:#000000\"><span><span style=\"color: #ff4d6d\">5. Dependency Inversion Principle (DIP)<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:92.23301%;width:100%;height:4.36893%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.48543689320388345% 0.48543689320388345% 0.48543689320388345% 0.48543689320388345% \/ 7.4074074074074066% 7.4074074074074066% 7.4074074074074066% 7.4074074074074066%\" id=\"el-2f602bdf-9734-4da3-bfec-e253812a9894\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.1067961165048545% 0;font-family:&quot;Darker Grotesque&quot;,sans-serif;font-size:0.323625em;line-height:0.9;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Why should you utilize SOLID design principles?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"a399d3a5-cba3-49ef-b6cf-da3cba8ae0f5\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-67aebed1-5736-4d71-84e3-2bb1590af90d\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5933bfbd-dc78-4788-a04f-81a7ca256adf\",\"keyframes\":{\"transform\":[\"translate3d(0px, 311.42497%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-160cf598-d38d-41cd-afac-003feaba711b\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e953525e-2ed6-44c7-960d-275a020af826\",\"keyframes\":{\"transform\":[\"translate3d(0px, 277.44112%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#d9c0a6\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-c1c2a543-10a4-4380-9d99-ce3c5d664f29\">\n<div style=\"position:absolute;width:266.66667%;height:100%;left:-58.85417%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max\" alt=\"man holding laptop walking towards building\" srcSet=\"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max 5184w,https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4147&amp;h=2765&amp;fit=max 4147w,https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3110&amp;h=2073&amp;fit=max 3110w,https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2073&amp;h=1382&amp;fit=max 2073w,https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1036&amp;h=691&amp;fit=max 1036w,https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 120vh, 267vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-d55557ef-97f6-47b5-8a5d-a84d77dba374\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.91262%;top:20.06472%;width:93.93204%;height:28.64078%;opacity:1\">\n<div id=\"anim-67aebed1-5736-4d71-84e3-2bb1590af90d\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-5933bfbd-dc78-4788-a04f-81a7ca256adf\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, 311.42497%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-f446c91c-3bf8-4bff-9726-84d9bfc3ed9b\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:1.589147286821706% 0;font-family:&quot;IBM Plex Serif&quot;,serif;font-size:0.663430em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #c9184a\">Interested in Learning about SOLID Principles in C#?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.91262%;top:50%;width:92.96117%;height:21.35922%;opacity:1\">\n<div id=\"anim-160cf598-d38d-41cd-afac-003feaba711b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-e953525e-2ed6-44c7-960d-275a020af826\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, 277.44112%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5221932114882507% 0.5221932114882507% 0.5221932114882507% 0.5221932114882507% \/ 1.5151515151515151% 1.5151515151515151% 1.5151515151515151% 1.5151515151515151%\" id=\"el-5f5c13ba-f393-4255-9cb2-ff1c98f43831\">\n<h3 id=\"explore-a-comprehensive-blog-by-interviewbit-on-solid-principles-in-c-and-discover-how-implementing-them-can-elevate-code-quality-and-maintainability\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08077676240208859% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.355987em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Explore a comprehensive blog by InterviewBit on SOLID Principles in C#, and discover how implementing them can elevate code quality and maintainability.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Machine-Learning-Projects.png\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code\" rel=\"\">Explore now<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"0f80e61b-bde0-4d00-a1cd-1f7483f72422\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8c37d6dc-0a73-4c1a-9d33-f9fb868747e2\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-4a14a7c2-5619-4bd2-9ca3-6ba7a34601fe\",\"keyframes\":{\"transform\":[\"translate3d(0px, 309.54250%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":1000,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-11d39bcd-b463-4c60-9fae-a8dc2ed1b6a5\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-781607b7-2da5-4ddf-87c1-94b5efb71fc4\",\"keyframes\":{\"transform\":[\"translate3d(0px, 181.98046%, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#0c2626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-e451bbd2-1561-44cc-972c-7532c643e431\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"man using laptop\" srcSet=\"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<div class=\"element-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<div class=\"page-background-overlay-area\" style=\"background-color:rgba(0,0,0,0.5)\"><\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-6.31068%;width:43.68932%;height:9.70874%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-095a79ef-99e9-496c-9885-1c877618cf0f\">\n<div style=\"position:absolute;width:100.28251%;height:100%;left:-0.14125%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png\" alt=\"InterviewBit-White-2\" srcSet=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png 2130w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png 2048w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png 1536w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png 1024w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png 768w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png 300w,https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png 150w\" sizes=\"(min-width: 1024px) 20vh, 44vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:1.69903%;top:24.11003%;width:94.17476%;height:27.50809%;opacity:1\">\n<div id=\"anim-8c37d6dc-0a73-4c1a-9d33-f9fb868747e2\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-4a14a7c2-5619-4bd2-9ca3-6ba7a34601fe\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, 309.54250%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-c9bfbe15-e68e-4068-b223-73a628752fd4\">\n<p class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:2.5773195876288657% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:0.809061em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Looking to Level up your C# Skills?<\/span><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:2.26537%;width:19.66019%;height:45.79288%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" id=\"el-dd7deed7-5530-4f57-8656-8b37ceb55a0d\">\n<h1 id=\"\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:49.876543209876516% 0;font-family:&quot;Poppins&quot;,sans-serif;font-size:3.268608em;line-height:1;text-align:initial;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #c9184a\">\u201c<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:2.18447%;top:52.42718%;width:92.96117%;height:31.22977%;opacity:1\">\n<div id=\"anim-11d39bcd-b463-4c60-9fae-a8dc2ed1b6a5\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-781607b7-2da5-4ddf-87c1-94b5efb71fc4\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, 181.98046%, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.5221932114882507% 0.5221932114882507% 0.5221932114882507% 0.5221932114882507% \/ 1.0362694300518136% 1.0362694300518136% 1.0362694300518136% 1.0362694300518136%\" id=\"el-997d7063-39fc-477d-8217-b7205b6dad11\">\n<h3 id=\"sign-up-for-scalers-free-masterclasses-and-events-to-learn-about-the-latest-trends-in-the-it-industry-and-become-a-pro-dont-hesitate-any-longer-register-today\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08444843342036526% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.372168em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #fff\">Sign up for Scaler&#8217;s free masterclasses and events to learn about the latest trends in the IT industry and become a pro.&nbsp;<\/span><\/p>\n<p><span style=\"color: #c9184a\">Don&#8217;t hesitate any longer, register today!<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-page-outlink layout=\"nodisplay\" cta-image=\"https:\/\/assets-v2.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz\"><a href=\"https:\/\/www.scaler.com\/events\/?utm_source=ib&amp;utm_medium=webstories&amp;utm_campaign=5-common-violations-of-solid-principles-in-csharp-code_scaler-events\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"As part of this web story, we will look at 5 Common Violations of Solid Principles in C# Code.\n","protected":false},"author":21,"featured_media":22149,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[1798],"web_story_tag":[2258,3181,3180],"amp_enabled":false,"story_data":{"version":46,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"6d11f7dd-7de3-4a44-8e48-e884bd5c50b1","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":7188,"height":4797,"sizes":{"full":{"file":"media\/unsplash:UH-xs-FizTk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=7188&h=4797&fit=max","mimeType":"image\/jpeg","width":7188,"height":4797},"large":{"file":"media\/unsplash:UH-xs-FizTk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=5750&h=3837&fit=max","mimeType":"image\/jpeg","width":5750,"height":3837},"4312_2878":{"file":"media\/unsplash:UH-xs-FizTk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=4312&h=2878&fit=max","mimeType":"image\/jpeg","width":4312,"height":2878},"2875_1919":{"file":"media\/unsplash:UH-xs-FizTk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=2875&h=1919&fit=max","mimeType":"image\/jpeg","width":2875,"height":1919},"1437_959":{"file":"media\/unsplash:UH-xs-FizTk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=1437&h=959&fit=max","mimeType":"image\/jpeg","width":1437,"height":959},"web_stories_thumbnail":{"file":"media\/unsplash:UH-xs-FizTk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:UH-xs-FizTk","baseColor":"#d9d9d9","blurHash":"LUH_oRM{IUwc~pWXt6M|%#jFa0oL","creationDate":"2016-10-17T11:40:18Z","src":"https:\/\/images.unsplash.com\/photo-1476703993599-0035a21b17a9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxMTh8fHBlb3BsZSUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjkwNDQ4MzExfDA&ixlib=rb-4.0.3&fm=jpg&w=7188&h=4797&fit=max","alt":"two babies and woman sitting on sofa while holding baby and watching on tablet","attribution":{"author":{"displayName":"Alexander Dummer","url":"https:\/\/unsplash.com\/@4dgraphic?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/cSWWQpl7qi6DNtmSL4htzukp2oMJjoClxXC4Fo2E%2BL1bB6MBv4vEfZIxT1ceXBJwRGgPtPu6vGIPgFiWP74nFS5rTwVuf75Yw6fHtKSZ9LXyRZPZtGzBkv3%2BWrLhqfQANPbOSEmCpQpq2SbmoJwNqAP1AlyJfJBzDbWDhtbvOs2Lxscmo2mI6oFh3TgBy4ySaTc6q8etTXGIOh8GCHarrq6EQeN4KekJ5QU\/37vGEZgLnDXB4L\/rQh64FU3zu2Zv0Ih3XT3aY%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Anton"},"fontSize":43,"backgroundColor":{"color":{"r":201,"g":24,"b":74,"a":0.4}},"lineHeight":1.1,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #fff\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Common Violations of Solid Principles in C# Code<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":16,"y":442,"width":380,"height":167,"basedOn":"2305c694-5987-4b64-83e8-3e7aa165ba0d","id":"03fbe691-5f4e-45f9-b7a6-caed053aec19","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"8faa57a8-39d3-4963-bfb5-560145cbce93","id":"5fffc8bd-a838-494b-950f-cf45bed2fe06","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Anton"},"fontSize":115,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #c9184a\">5<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":32,"y":362,"width":186,"height":173,"id":"9a0ce65a-b005-4223-b48b-f6997d8c4a84"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"c3d931ef-165e-4b4c-b90f-57895ba27a3b","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"61c98cf8-65a7-47a7-b6ba-1020685dafe8"},"animations":[]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"9e30c256-6e45-411e-9766-46da747497d1","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5304,"height":7952,"sizes":{"full":{"file":"media\/unsplash:RW32Rt7K5zI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=5304&h=7952&fit=max","mimeType":"image\/jpeg","width":5304,"height":7952},"large":{"file":"media\/unsplash:RW32Rt7K5zI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=4243&h=6361&fit=max","mimeType":"image\/jpeg","width":4243,"height":6361},"3182_4771":{"file":"media\/unsplash:RW32Rt7K5zI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=3182&h=4771&fit=max","mimeType":"image\/jpeg","width":3182,"height":4771},"2121_3180":{"file":"media\/unsplash:RW32Rt7K5zI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=2121&h=3180&fit=max","mimeType":"image\/jpeg","width":2121,"height":3180},"1060_1589":{"file":"media\/unsplash:RW32Rt7K5zI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=1060&h=1589&fit=max","mimeType":"image\/jpeg","width":1060,"height":1589},"web_stories_thumbnail":{"file":"media\/unsplash:RW32Rt7K5zI","sourceUrl":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:RW32Rt7K5zI","baseColor":"#262626","blurHash":"LZJtVZ?bE1s:~W?Ht7t7x]jZE1oL","creationDate":"2019-02-01T18:34:20Z","src":"https:\/\/images.unsplash.com\/photo-1549045337-967927d923c0?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw0NTd8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwMDg3fDA&ixlib=rb-4.0.3&fm=jpg&w=5304&h=7952&fit=max","alt":"smiling man sitting on chair inside room","attribution":{"author":{"displayName":"Sayo Garcia","url":"https:\/\/unsplash.com\/@sayolo?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=ASGJDKIKqOFP1i2TZFcs6zA8iuicNYFqbjkK%2BiHPlYtloi6%2B70kpEEmR4Wq4hOXfq6m8qgbKIUhMugTW\/Py2IGYkVc99JjIaFDa3dwAGF4rC5SpJuWe1%2B3rZqIhCtrGXfQd07xw8rrvDlqZw3xzmwGIvhbaEF7fEp7\/UwA9Vwe9wNaxrUYZK\/n6AO1fcNP8WFsg8VZ4QBDz55L2s4h8E4Q4VrBaGj0HBD1fRlYtca3pMSiorSRpRTTei4vpBT2EBtSTOIaIE2Q%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"5fffc8bd-a838-494b-950f-cf45bed2fe06","id":"4904a6d5-b94a-470f-a791-51a2e50af91e","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":26,"backgroundColor":{"color":{"r":69,"g":69,"b":69,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #fff\">Breaking SRP can lead to bloated classes with multiple responsibilities. Splitting responsibilities into separate classes enhances code readability and maintainability<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":378,"height":137,"basedOn":"530af12b-ae88-444d-9b72-71088f5514aa","x":17,"y":397,"groupId":null,"id":"b81fd0cc-b97e-4859-9189-3b76a18de7ca","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Interested in learning about SOLID Principles&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">in C#?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":553,"width":412,"height":46,"basedOn":"fd725797-2848-4f62-b78a-7a8809aeab3e","id":"a016a8f5-f39e-46e1-ab63-a73b11e2d18f","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ff4d6d\">1. Single Responsibility Principle (SRP)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":17,"y":321,"width":378,"height":76,"marginOffset":-33.45600000000001,"basedOn":"699e476a-4812-49f7-8ad3-ce36d510296f","groupId":null,"id":"b92ee131-7164-4672-b8a7-66994a4d292a","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"75f40bec-62e0-442e-aea0-901e8ba977bf","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["b81fd0cc-b97e-4859-9189-3b76a18de7ca"]},{"id":"b1d58439-7f1a-4c00-8727-ce54b402bf7e","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["9e30c256-6e45-411e-9766-46da747497d1"]},{"targets":["b92ee131-7164-4672-b8a7-66994a4d292a"],"id":"785823b4-bb03-40aa-bb66-efe093fe075c","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"e4eef050-7164-497b-b33e-f474f2499341","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"1e7f4ef6-ec8c-41d2-819e-29781c57caa0"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"42e03b95-66db-4ae0-8ea3-f759aab07c39","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4016,"height":6016,"sizes":{"full":{"file":"media\/unsplash:AHfRjkk8QcE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=4016&h=6016&fit=max","mimeType":"image\/jpeg","width":4016,"height":6016},"large":{"file":"media\/unsplash:AHfRjkk8QcE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=3212&h=4812&fit=max","mimeType":"image\/jpeg","width":3212,"height":4812},"2409_3609":{"file":"media\/unsplash:AHfRjkk8QcE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=2409&h=3609&fit=max","mimeType":"image\/jpeg","width":2409,"height":3609},"1606_2406":{"file":"media\/unsplash:AHfRjkk8QcE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=1606&h=2406&fit=max","mimeType":"image\/jpeg","width":1606,"height":2406},"803_1203":{"file":"media\/unsplash:AHfRjkk8QcE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=803&h=1203&fit=max","mimeType":"image\/jpeg","width":803,"height":1203},"web_stories_thumbnail":{"file":"media\/unsplash:AHfRjkk8QcE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=340&h=509&fit=max","mimeType":"image\/jpeg","width":340,"height":509}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:AHfRjkk8QcE","baseColor":"#f3f3f3","blurHash":"LjM@ZW4mx]WA-:x]%gkC_Nt7MxfR","creationDate":"2019-11-11T18:17:50Z","src":"https:\/\/images.unsplash.com\/photo-1573496129661-bd7fcc7e532b?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzOXx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMzNg&ixlib=rb-4.0.3&fm=jpg&w=4016&h=6016&fit=max","alt":"woman using MacBook and wearing yellow headphones","attribution":{"author":{"displayName":"Christina @ wocintechchat.com","url":"https:\/\/unsplash.com\/@wocintechchat?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfGcEY0ZM8vwdAJ5hyDGuu9gxUdGZpU4XziHIxhtTiDEe0Nexp3N%2BEdkbb2uBtRpfhyM%2BcgDrpvFEH6rgtU%2BSkHFrQu\/2mKgm67SlcmwXxevERCt\/45yWSB3NUo8yvXrg007mAzxwBXO2W2sIPNNHHptmwevTirAxYhTLhHgY1Cgzn%2BBqCsW9uGAvxr0w25p%2BKOOYdPVtXKDoEH\/POOKTEJG\/WKlh4KOx84K\/JSaFWvcpqHbb7RLcZcC\/uJgv6NKXZOl"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"4904a6d5-b94a-470f-a791-51a2e50af91e","id":"98a06315-42d1-420c-af84-13e22adb56f8","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":26,"backgroundColor":{"color":{"r":69,"g":69,"b":69,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #fff\">Violating OCP can make code fragile and hard to extend. Designing modules that are open for extension but closed for modification promotes code reusability.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":378,"height":137,"basedOn":"b81fd0cc-b97e-4859-9189-3b76a18de7ca","x":17,"y":370,"groupId":null,"id":"08626cfb-1b30-43f4-bff6-45fe68f45e19","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Why should you utilize SOLID design principles?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":27,"basedOn":"a016a8f5-f39e-46e1-ab63-a73b11e2d18f","id":"834d0b1b-1de8-441a-8645-94192cc2cb6a","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ff4d6d\">2. Open\/Closed Principle (OCP)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":17,"y":321,"width":378,"height":49,"marginOffset":-33.45600000000001,"basedOn":"b92ee131-7164-4672-b8a7-66994a4d292a","groupId":null,"id":"77c2725f-bad9-4a70-964a-29a18227c8c7","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"9c205e9f-e248-424a-8a39-7bedb98c6153","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["42e03b95-66db-4ae0-8ea3-f759aab07c39"]},{"id":"3da52f1d-272b-46eb-a0ac-f7c63f7eac8a","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["08626cfb-1b30-43f4-bff6-45fe68f45e19"]},{"targets":["77c2725f-bad9-4a70-964a-29a18227c8c7"],"id":"704b6785-e126-4e38-ba27-ec4daff9a62a","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"66f99e3c-e65f-49e0-a82f-81cd52305ea3","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"fa3d698b-fb75-44d2-ae9c-3c74a4379d30"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Machine-Learning-Projects.png","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"6427f400-8823-4d22-9daa-39112eba49a1","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3607,"height":5411,"sizes":{"full":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=3607&h=5411&fit=max","mimeType":"image\/jpeg","width":3607,"height":5411},"large":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=2885&h=4328&fit=max","mimeType":"image\/jpeg","width":2885,"height":4328},"2164_3246":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=2164&h=3246&fit=max","mimeType":"image\/jpeg","width":2164,"height":3246},"1442_2163":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=1442&h=2163&fit=max","mimeType":"image\/jpeg","width":1442,"height":2163},"721_1082":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=721&h=1082&fit=max","mimeType":"image\/jpeg","width":721,"height":1082},"web_stories_thumbnail":{"file":"media\/unsplash:EnZaPhgS6KY","sourceUrl":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:EnZaPhgS6KY","baseColor":"#c08c73","blurHash":"LD8M]Zxa0zIpI;WCxFj[0zR*={xa","creationDate":"2020-08-25T20:36:48Z","src":"https:\/\/images.unsplash.com\/photo-1598387746216-506f6bd47aad?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxNDF8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjgxMjE5ODQ3&ixlib=rb-4.0.3&fm=jpg&w=3607&h=5411&fit=max","alt":"man in brown dress shirt holding black smartphone","attribution":{"author":{"displayName":"Jonathan Borba","url":"https:\/\/unsplash.com\/@jonathanborba?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfFSeUHAPD5ylNIk71NXTgsQwN7qSMLHHmErAr1qeIDuLxePpNqJqmbVKebXPYbzLvKNi%2By9EoIhdnEvUHP0YszBKBfEXlZn4Vikg46284eXSt1CCvmvZxJj4hywMXf5rvQeFyNtMWehqdg1\/GF4bjZ59M1mO2hdcOSrQiZm6kvUF8UYOt2pu8udxlfDwev60QnVxATSmjwdgVCxrrkJq6jAXsuXmgNBZ4DV0OL%2Bt6LM5il7gHeLhac5lYBdqz%2BkVQ%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"98a06315-42d1-420c-af84-13e22adb56f8","id":"f4e78a89-f38f-4e99-aa80-fa776382a958","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":26,"backgroundColor":{"color":{"r":69,"g":69,"b":69,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #fff\">Violations of LSP result in code that is not substitutable with its base types. Ensuring derived types adhere to the same behavior as their base types improves code reliability.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":378,"height":137,"basedOn":"08626cfb-1b30-43f4-bff6-45fe68f45e19","x":17,"y":397,"groupId":null,"id":"61813cda-61cb-4123-ad0e-61cba6b70a44","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ff4d6d\">3. Liskov Substitution Principle (LSP)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":17,"y":321,"width":378,"height":76,"marginOffset":-33.45600000000001,"basedOn":"77c2725f-bad9-4a70-964a-29a18227c8c7","groupId":null,"id":"6f122f59-4156-4615-bc84-b2fda2d862b3","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Curious to explore the advantages of&nbsp;<\/span>\n<span style=\"font-weight: 700; color: #fff\">SOLID Principles?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":553,"width":412,"height":46,"basedOn":"a016a8f5-f39e-46e1-ab63-a73b11e2d18f","id":"7f1432b8-bbc2-4af3-a65e-77acfdd3ebc1","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"b7a5b91a-248c-45ed-84ff-cfecfc86df11","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["61813cda-61cb-4123-ad0e-61cba6b70a44"]},{"id":"bba392f3-5d0f-47cb-8d6c-51779b996ee6","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["6427f400-8823-4d22-9daa-39112eba49a1"]},{"targets":["6f122f59-4156-4615-bc84-b2fda2d862b3"],"id":"3aa12ab5-bdc2-43e8-a4fa-e8df852e7a36","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"0edabcaa-afc4-4583-b24e-108a43910587","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"8d32fc10-f9d0-4d8e-96fe-4dce66dbaaf6"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"099e1f0c-05a0-4bdf-b5ba-618c5a0527a3","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3812,"height":5718,"sizes":{"full":{"file":"media\/unsplash:bAXL_Y7r-X4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=3812&h=5718&fit=max","mimeType":"image\/jpeg","width":3812,"height":5718},"large":{"file":"media\/unsplash:bAXL_Y7r-X4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=3049&h=4574&fit=max","mimeType":"image\/jpeg","width":3049,"height":4574},"2287_3431":{"file":"media\/unsplash:bAXL_Y7r-X4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=2287&h=3431&fit=max","mimeType":"image\/jpeg","width":2287,"height":3431},"1524_2286":{"file":"media\/unsplash:bAXL_Y7r-X4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=1524&h=2286&fit=max","mimeType":"image\/jpeg","width":1524,"height":2286},"762_1143":{"file":"media\/unsplash:bAXL_Y7r-X4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=762&h=1143&fit=max","mimeType":"image\/jpeg","width":762,"height":1143},"web_stories_thumbnail":{"file":"media\/unsplash:bAXL_Y7r-X4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:bAXL_Y7r-X4","baseColor":"#f3d9d9","blurHash":"L#Iqicof%Lt7~Wxaofj]%LR*Rjf6","creationDate":"2023-02-14T12:50:00Z","src":"https:\/\/images.unsplash.com\/photo-1676378388741-61acfa5ac03b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1OTZ8fG1hbiUyMHdpdGglMjBsYXB0b3B8ZW58MHx8fHwxNjg0MzIwNTg0fDA&ixlib=rb-4.0.3&fm=jpg&w=3812&h=5718&fit=max","alt":"a man sitting in front of a laptop computer","attribution":{"author":{"displayName":"Kaw\u00ea Rodrigues","url":"https:\/\/unsplash.com\/@kawerodriguess?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=ASGJDKJZ8DEE%2B5q5CyjjIzifUEOMnBpUVvAfSG7PMmPahHTVXwT5WCIVTvSZUJL5vTosCC0W7UV0ABTl\/lPTAF1hodZG55yTid0p12ZR40Ijs2FJ3pjIbIpW52IWf37zNFcVqkxxYB%2BrdKL48rhBGrF85wEUK6n\/jm0\/5id2c0r5shXltLWbx1blw9pf6BLXDyj5WpxqJdz4ssOWAebnad20oVpO5tGfXLRiqhExkCpYtk6Z3z628JQoTgUZJu7219X4sSu25Q%3D%3D"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"98a06315-42d1-420c-af84-13e22adb56f8","id":"b265d57c-d800-4027-8b2b-9d3ab5fcaad8","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":26,"backgroundColor":{"color":{"r":69,"g":69,"b":69,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #fff\">When interfaces are not tailored to specific client needs, it leads to clients depending on unnecessary methods. Creating smaller and more focused interfaces prevents this issue.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":378,"height":137,"basedOn":"61813cda-61cb-4123-ad0e-61cba6b70a44","x":17,"y":397,"groupId":null,"id":"7d798a12-d337-4a2e-a63f-5d537a51733d","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ff4d6d\">4. Interface Segregation Principle (ISP)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":17,"y":321,"width":378,"height":76,"marginOffset":-33.45600000000001,"basedOn":"6f122f59-4156-4615-bc84-b2fda2d862b3","groupId":null,"id":"56c7d6f1-86fe-4b20-a470-48a48086f27b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Looking for more information on SOLID Principles<\/span>\n<span style=\"font-weight: 700; color: #fff\">&nbsp;in C#?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":553,"width":412,"height":46,"basedOn":"7f1432b8-bbc2-4af3-a65e-77acfdd3ebc1","id":"5064d594-1080-410d-a1fa-216d8eb2e095","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"b8d5d6ed-8a93-4313-9148-9eee0cf069df","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["7d798a12-d337-4a2e-a63f-5d537a51733d"]},{"id":"213c1b2e-c109-4d34-93bb-a38846d89fb5","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["099e1f0c-05a0-4bdf-b5ba-618c5a0527a3"]},{"targets":["56c7d6f1-86fe-4b20-a470-48a48086f27b"],"id":"db861e5a-bdf9-4bef-9957-3f6d9484d4df","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"9d143c23-6124-4be9-88e4-da4315e5d825","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"725fa1bb-afbd-47d7-8ef7-eb42c7fd40ab"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"b55a8106-23b8-4ff4-a958-d3b491e9fc7c","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":2667,"height":4000,"sizes":{"full":{"file":"media\/unsplash:Dj5HnHMtkH0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=2667&h=4000&fit=max","mimeType":"image\/jpeg","width":2667,"height":4000},"large":{"file":"media\/unsplash:Dj5HnHMtkH0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=2133&h=3199&fit=max","mimeType":"image\/jpeg","width":2133,"height":3199},"1600_2400":{"file":"media\/unsplash:Dj5HnHMtkH0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"1066_1599":{"file":"media\/unsplash:Dj5HnHMtkH0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=1066&h=1599&fit=max","mimeType":"image\/jpeg","width":1066,"height":1599},"533_799":{"file":"media\/unsplash:Dj5HnHMtkH0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=533&h=799&fit=max","mimeType":"image\/jpeg","width":533,"height":799},"web_stories_thumbnail":{"file":"media\/unsplash:Dj5HnHMtkH0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:Dj5HnHMtkH0","baseColor":"#c0c0c0","blurHash":"LkH_lQ~qW=IUacWAWqoft7t7t7of","creationDate":"2020-09-16T17:15:37Z","src":"https:\/\/images.unsplash.com\/photo-1600275669283-4bf2bb8a990c?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxOHx8d29tZW4lMjB3aXRoJTIwbGFwdG9wfGVufDB8fHx8MTY4MTIzODMyNg&ixlib=rb-4.0.3&fm=jpg&w=2667&h=4000&fit=max","alt":"woman in brown coat using macbook air","attribution":{"author":{"displayName":"Daria Pimkina","url":"https:\/\/unsplash.com\/@daria1life?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aeo1mfGFeSiQtHmLJtveRZZLwYisH3ibgSd7luhfBmcy6Pn9vrZDohCocSGMiB56s2QIsn2kzR\/sQ40f7dXFHwkKFa0psGtXRMIZQEN9O%2Bn7XES2hX9ZLGBoOuRmpLdhlBRJRRQVyNvvcuFws8JcmlA4cGjHPo\/I1%2BMxrHk2JzlziCmwwFN7iA7RA0iziI\/vZ5lgUt62x9aiX2jFXFniOZ2fPOSVoGVN%2BiGodR0ej5txvH3OOdB4L66aSzhq\/TmglQ741JK5"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"8eeed1c9-d699-4565-99cc-c70b8c4b32e6","id":"10757e8b-921f-44d4-8069-522c064eca14","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":26,"backgroundColor":{"color":{"r":69,"g":69,"b":69,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #fff\">Failing to depend on abstractions rather than concrete implementations makes code tightly coupled and difficult to test. Applying DIP promotes loose coupling and testability.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"width":378,"height":137,"basedOn":"7d798a12-d337-4a2e-a63f-5d537a51733d","x":17,"y":397,"groupId":null,"id":"4f447423-42ad-4971-9770-239a1cc9f166","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"FILL","font":{"family":"Darker Grotesque"},"fontSize":30,"backgroundColor":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"lineHeight":0.9,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":true,"horizontal":8,"vertical":4},"content":"<span style=\"color: #ff4d6d\">5. Dependency Inversion Principle (DIP)<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":17,"y":321,"width":378,"height":76,"marginOffset":-33.45600000000001,"basedOn":"56c7d6f1-86fe-4b20-a470-48a48086f27b","groupId":null,"id":"72a3eef5-fcb1-4aa2-ba31-29b45c61daa0","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Darker Grotesque"},"fontSize":20,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":0.9,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Why should you utilize SOLID design principles?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":0,"y":570,"width":412,"height":27,"basedOn":"834d0b1b-1de8-441a-8645-94192cc2cb6a","id":"2f602bdf-9734-4da3-bfec-e253812a9894","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"9cddfb4a-81d4-450f-b0be-fa2d5f8dc76b","type":"effect-background-zoom","zoomDirection":"scaleOut","duration":2000,"delay":0,"targets":["b55a8106-23b8-4ff4-a958-d3b491e9fc7c"]},{"id":"bf5e405f-1bf7-484e-9bca-c75b8c9e10cd","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["4f447423-42ad-4971-9770-239a1cc9f166"]},{"targets":["72a3eef5-fcb1-4aa2-ba31-29b45c61daa0"],"id":"5cbe5559-9d6d-40fa-a3e5-15ead98d257a","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0}],"id":"5ada0465-6650-424b-96cd-2481d3b48b5b","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"8600224f-c8a7-4642-9998-65bc997a53cc"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":220,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"c1c2a543-10a4-4380-9d99-ce3c5d664f29","scale":100,"focalX":40.8203125448227,"focalY":50.04882763648034,"resource":{"type":"image","mimeType":"image\/jpeg","width":5184,"height":3456,"sizes":{"full":{"file":"media\/unsplash:h448yp0t2qQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","mimeType":"image\/jpeg","width":5184,"height":3456},"large":{"file":"media\/unsplash:h448yp0t2qQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=4147&h=2765&fit=max","mimeType":"image\/jpeg","width":4147,"height":2765},"3110_2073":{"file":"media\/unsplash:h448yp0t2qQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=3110&h=2073&fit=max","mimeType":"image\/jpeg","width":3110,"height":2073},"2073_1382":{"file":"media\/unsplash:h448yp0t2qQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=2073&h=1382&fit=max","mimeType":"image\/jpeg","width":2073,"height":1382},"1036_691":{"file":"media\/unsplash:h448yp0t2qQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=1036&h=691&fit=max","mimeType":"image\/jpeg","width":1036,"height":691},"web_stories_thumbnail":{"file":"media\/unsplash:h448yp0t2qQ","sourceUrl":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:h448yp0t2qQ","baseColor":"#d9c0a6","blurHash":"LmN0u2%LadSj~qxvxtbIIokDR-of","creationDate":"2017-10-05T12:53:05Z","src":"https:\/\/images.unsplash.com\/photo-1507207908229-c59ddb730e40?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw3OXx8bWFuJTIwd2l0aCUyMGxhcHRvcHxlbnwwfHx8fDE2ODg0NjU3MTF8MA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","alt":"man holding laptop walking towards building","attribution":{"author":{"displayName":"LinkedIn Sales Solutions","url":"https:\/\/unsplash.com\/@linkedinsalesnavigator?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AW1j3\/e1C36URnTvADMeCvJbHbA7Q4WAuHh7ZHGWcUraC%2Bwtt3DIoTlYYVL8arOjBFGRM\/HNZdVwKqrraih%2BClWSQdeLNNUHfSf8hO8hLEsonzK1u6xRTVtZJqn9bo%2BbGeaJNvnN1C5lCo\/7WsCiVrUeY6nh\/U0NE0Fx%2B9Qp8K%2B6Tpclnpy\/GetrgOCCElFtjqVDnTngAZPXBRpE0oRgztmGrynCvwfW\/f%2BTySjbxcb9A7Hl9WDVEghUxVtDJ\/7NQwVEge7n"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"1f93aed8-5b61-4e50-8f4e-7b5248012d4b","id":"d55557ef-97f6-47b5-8a5d-a84d77dba374","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"IBM Plex Serif"},"fontSize":41,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":12,"y":124,"width":387,"height":177,"basedOn":"c9bfbe15-e68e-4068-b223-73a628752fd4","content":"<span style=\"font-weight: 700; color: #c9184a\">Interested in Learning about SOLID Principles in C#?<\/span>","tagName":"p","marginOffset":-13.199999999999989,"id":"f446c91c-3bf8-4bff-9726-84d9bfc3ed9b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Explore a comprehensive blog by InterviewBit on SOLID Principles in C#, and discover how implementing them can elevate code quality and maintainability.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":12,"y":309,"width":383,"height":132,"basedOn":"997d7063-39fc-477d-8217-b7205b6dad11","id":"5f5c13ba-f393-4255-9cb2-ff1c98f43831","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"fb83bdbc-0215-4589-8aad-179de7a7a67f","type":"effect-fly-in","flyInDir":"bottomToTop","duration":1000,"delay":0,"targets":["f446c91c-3bf8-4bff-9726-84d9bfc3ed9b"]},{"id":"8d3c0759-2b02-4214-8008-e265e33ff9cd","type":"effect-fly-in","flyInDir":"bottomToTop","duration":600,"delay":0,"targets":["5f5c13ba-f393-4255-9cb2-ff1c98f43831"]}],"id":"a399d3a5-cba3-49ef-b6cf-da3cba8ae0f5","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"19e1d86a-bf17-4f16-9dfb-52fe59a56c35"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-c-sharp-code","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Machine-Learning-Projects.png","needsProxy":false,"ctaText":"Explore now"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"e451bbd2-1561-44cc-972c-7532c643e431","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:VzJjPuk53sk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:VzJjPuk53sk","baseColor":"#0c2626","blurHash":"LBEorfElXSNGBY0g=_IoKQ^*^hxu","creationDate":"2019-11-30T05:00:10Z","src":"https:\/\/images.unsplash.com\/photo-1575089976121-8ed7b2a54265?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxzb2Z0d2FyZSUyMGRldmVsb3BlcnxlbnwwfHx8fDE2NzU5NTEzNTI&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","alt":"man using laptop","attribution":{"author":{"displayName":"Procreator UX Design Studio","url":"https:\/\/unsplash.com\/@weareprocreator?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=Aa0pnNYbBzh33a64Rn\/GtHM83XD4RghDlBuB7EUvKEVPvUqGZNoeUMMZ0lg812HI\/NPHHpsLdmYmrCKHfTsl7aYi51QF6C5CrhIpz1OEucggYip57nWrbJNdmHn%2BrSq1LZxd9%2Bs9eBplogX4XvOwbL\/EQBHvwpLN9ljSrtW8eDGAfLRXrBgt4NdNK42VEi7T366AD1c8tAhzlTTS4mQ8HILX2DSrJIqbt75J%2BBxwGpcU3FAznWC3xYHbnVDgNmPuHyka"}},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/png","creationDate":"2021-07-12T14:57:03","src":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png","width":2130,"height":708,"id":724,"alt":"InterviewBit-White-2","sizes":{"medium":{"file":"InterviewBit-White-2-300x100.png","width":300,"height":100,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-300x100.png"},"large":{"file":"InterviewBit-White-2-1024x340.png","width":1024,"height":340,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1024x340.png"},"thumbnail":{"file":"InterviewBit-White-2-150x150.png","width":150,"height":150,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x150.png"},"medium_large":{"file":"InterviewBit-White-2-768x255.png","width":768,"height":255,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-768x255.png"},"1536x1536":{"file":"InterviewBit-White-2-1536x511.png","width":1536,"height":511,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-1536x511.png"},"2048x2048":{"file":"InterviewBit-White-2-2048x681.png","width":2048,"height":681,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-2048x681.png"},"web-stories-poster-portrait":{"file":"InterviewBit-White-2-640x708.png","width":640,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x708.png"},"web-stories-poster-landscape":{"file":"InterviewBit-White-2-853x640.png","width":853,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-853x640.png"},"web-stories-poster-square":{"file":"InterviewBit-White-2-640x640.png","width":640,"height":640,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-640x640.png"},"web-stories-publisher-logo":{"file":"InterviewBit-White-2-96x96.png","width":96,"height":96,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-96x96.png"},"web-stories-thumbnail":{"file":"InterviewBit-White-2-150x50.png","width":150,"height":50,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2-150x50.png"},"full":{"file":"InterviewBit-White-2.png","width":2130,"height":708,"mimeType":"image\/png","sourceUrl":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/InterviewBit-White-2.png"}},"isOptimized":false,"isExternal":false},"x":0,"y":-39,"width":180,"height":60,"mask":{"type":"rectangle"},"basedOn":"08d3b5f8-b5f9-4013-81de-5f350d6ca1a7","id":"095a79ef-99e9-496c-9885-1c877618cf0f","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":50,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"hasHiddenPadding":false,"horizontal":0,"vertical":0},"x":7,"y":149,"width":388,"height":170,"basedOn":"34d0fabe-700e-4b88-a46d-94236cf499c3","content":"<span style=\"font-weight: 700; color: #fff\">Looking to Level up your C# Skills?<\/span>","tagName":"p","marginOffset":-13.199999999999989,"id":"c9bfbe15-e68e-4068-b223-73a628752fd4","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Poppins"},"fontSize":202,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1,"textAlign":"initial","padding":{"horizontal":0,"vertical":0},"x":0,"y":14,"width":81,"height":283,"basedOn":"32917c1b-803f-418c-ba36-40014197eb29","content":"<span style=\"font-weight: 700; color: #c9184a\">\u201c<\/span>","id":"dd7deed7-5530-4f57-8656-8b37ceb55a0d","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":23,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #fff\">Sign up for Scaler's free masterclasses and events to learn about the latest trends in the IT industry and become a pro.&nbsp;<\/span>\n\n<span style=\"color: #c9184a\">Don't hesitate any longer, register today!<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":9,"y":324,"width":383,"height":193,"basedOn":"0736d960-c8c0-4128-801c-c74dec981ccb","id":"997d7063-39fc-477d-8217-b7205b6dad11","type":"text"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"animations":[{"id":"36ff7eb3-fbad-4cd0-93c8-2f9329834074","type":"effect-fly-in","flyInDir":"bottomToTop","duration":1000,"delay":0,"targets":["c9bfbe15-e68e-4068-b223-73a628752fd4"]},{"id":"3050acdc-e9e3-49e5-994c-62533a3901ad","type":"effect-fly-in","flyInDir":"bottomToTop","duration":600,"delay":0,"targets":["997d7063-39fc-477d-8217-b7205b6dad11"]}],"id":"0f80e61b-bde0-4d00-a1cd-1f7483f72422","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"4047dafd-eac7-44d3-891b-c0462588ceac"},"pageAttachment":{"url":"https:\/\/www.scaler.com\/events\/?utm_source=ib&utm_medium=webstories&utm_campaign=5-common-violations-of-solid-principles-in-csharp-code_scaler-events","icon":"https:\/\/assets-v2.scaler.com\/assets\/scaler\/png\/scaler-meta-image-fed27fda894abf1a87190ae638e18c9b8417095d963cf27540c90108824b9ec8.png.gz","needsProxy":false,"ctaText":"SWIPE UP"}}],"fonts":{"Anton":{"family":"Anton","fallbacks":["sans-serif"],"weights":[400],"styles":["regular"],"variants":[[0,400]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":2409,"des":-674,"tAsc":2409,"tDes":-674,"tLGap":0,"wAsc":2876,"wDes":674,"xH":1500,"capH":1760,"yMin":-667,"yMax":2874,"hAsc":2409,"hDes":-674,"lGap":0}},"Darker Grotesque":{"family":"Darker Grotesque","fallbacks":["sans-serif"],"weights":[300,400,500,600,700,800,900],"styles":["regular"],"variants":[[0,300],[0,400],[0,500],[0,600],[0,700],[0,800],[0,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1060,"des":-296,"tAsc":1060,"tDes":-296,"tLGap":0,"wAsc":1060,"wDes":296,"xH":406,"capH":563,"yMin":-296,"yMax":1060,"hAsc":1060,"hDes":-296,"lGap":0}},"IBM Plex Serif":{"family":"IBM Plex Serif","fallbacks":["serif"],"weights":[100,200,300,400,500,600,700],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,200],[1,200],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,600],[1,600],[0,700],[1,700]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1025,"des":-275,"tAsc":1025,"tDes":-275,"tLGap":0,"wAsc":1150,"wDes":286,"xH":516,"capH":698,"yMin":-246,"yMax":1122,"hAsc":1025,"hDes":-275,"lGap":0}},"Roboto":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"Poppins":{"family":"Poppins","fallbacks":["sans-serif"],"weights":[100,200,300,400,500,600,700,800,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,200],[1,200],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,600],[1,600],[0,700],[1,700],[0,800],[1,800],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1050,"des":-350,"tAsc":1050,"tDes":-350,"tLGap":100,"wAsc":1135,"wDes":627,"xH":548,"capH":698,"yMin":-572,"yMax":1065,"hAsc":1050,"hDes":-350,"lGap":100}}},"autoAdvance":true,"defaultPageDuration":7,"currentStoryStyles":{"colors":[]}},"style_presets":{"colors":[{"color":{"r":157,"g":100,"b":32}},{"color":{"r":0,"g":0,"b":0}}],"textStyles":[]},"story_poster":{"id":22149,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2023\/07\/cropped-10-Common-Violations-of-Solid-Principles-in-C-Code.jpg","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/22093"}],"collection":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/users\/21"}],"version-history":[{"count":9,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/22093\/revisions"}],"predecessor-version":[{"id":22153,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/22093\/revisions\/22153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/22149"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=22093"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=22093"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=22093"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/22093\/lock"}],"wp:publisherlogo":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}