{"id":13591,"date":"2022-10-18T17:57:53","date_gmt":"2022-10-18T12:27:53","guid":{"rendered":"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&#038;p=13591"},"modified":"2022-10-25T18:10:36","modified_gmt":"2022-10-25T12:40:36","slug":"solid-design-principles-in-c-sharp","status":"publish","type":"web-story","link":"https:\/\/www.interviewbit.com\/blog\/web-stories\/solid-design-principles-in-c-sharp\/","title":{"rendered":"SOLID Design Principles in C sharp"},"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=Roboto%3Awght%40400%3B700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3995&amp;h=5737&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>SOLID Design Principles in C sharp<\/title><link rel=\"canonical\" href=\"https:\/\/www.interviewbit.com\/blog\/?post_type=web-story&amp;p=13591\"\/><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=\"SOLID Design Principles in C sharp\" poster-portrait-src=\"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/10\/cropped-SOLID-Principles-C.png\"><amp-story-page id=\"26ff3476-559e-4e31-8627-e8fb11272b48\" 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:#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 style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-6d6aa5dd-d543-44ae-953d-8ce6ac9cb5c5\">\n<div style=\"position:absolute;width:123.7968%;height:100%;left:-11.8984%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3995&amp;h=5737&amp;fit=max\" alt=\"Lines of code\" srcSet=\"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3995&amp;h=5737&amp;fit=max 3995w,https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3196&amp;h=4590&amp;fit=max 3196w,https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2397&amp;h=3442&amp;fit=max 2397w,https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1598&amp;h=2295&amp;fit=max 1598w,https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=799&amp;h=1147&amp;fit=max 799w,https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=488&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 56vh, 124vw\" 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:13.1068%;top:51.45631%;width:80.09709%;height:27.6699%;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.6060606060606061% 0.6060606060606061% 0.6060606060606061% 0.6060606060606061% \/ 1.1695906432748537% 1.1695906432748537% 1.1695906432748537% 1.1695906432748537%\" id=\"el-359c211d-8a30-4195-862d-1129d0c4dadd\">\n<h1 id=\"solid-design-principles-in-c\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.13181818181818142% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.776699em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">SOLID Design Principles in C#&nbsp;<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-dea52b7e-ed90-4591-bd8b-f924ef693ffb\">\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:5.82524%;top:91.74757%;width:88.1068%;height:12.13592%;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-f537cd02-68af-4cd5-a1e0-ed6240266f29\">\n<div style=\"position:absolute;width:100.87504%;height:100%;left:-0.87504%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAi\/raf-rafs.gif\" alt=\"Raf Rafs Sticker\" srcSet=\"https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAi\/raf-rafs.gif 498w,https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAj\/raf-rafs.gif 200w\" sizes=\"(min-width: 1024px) 40vh, 88vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:13.1068%;top:82.68608%;width:71.1165%;height:5.66343%;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.6825938566552902% 0.6825938566552902% 0.6825938566552902% 0.6825938566552902% \/ 5.714285714285714% 5.714285714285714% 5.714285714285714% 5.714285714285714%\" id=\"el-7c5da466-2c32-4bf7-a931-8f7b03858040\">\n<h2 id=\"a-complete-guide\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.14398464163822525% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #dbca09\">A Complete Guide<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"5d9add10-0bb8-412f-8187-bd8aa9971eba\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-089ec3fe-014b-4d39-a0df-d93ecaa199a1\",\"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-49086e2d-0787-4441-ba56-91fe7a97b459\",\"keyframes\":{\"transform\":[\"translate3d(0px, -441.82285%, 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-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d316cc4d-1f93-489f-b0eb-7356d69ed217\",\"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-cb884e60-e273-4773-876a-669c84042819\",\"keyframes\":{\"transform\":[\"translate3d(0px, -376.09005%, 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:#000\">\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-b608fe77-dd39-4d54-858a-12a700f45fd5\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-10.84142%;width:118.4466%;height:67.31392%;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-44461bd1-0af7-41e2-aaa1-39c63f8fcadc\">\n<div style=\"position:absolute;width:127.85288%;height:100%;left:-13.92644%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=2667&amp;fit=max\" alt=\"person wearing black coat close-up photography\" srcSet=\"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=2667&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=2134&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=1600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=1067&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=533&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 118vw\" 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 style=\"position:absolute;pointer-events:none;left:5.82524%;top:61.32686%;width:88.83495%;height:25.56634%;opacity:1\">\n<div id=\"anim-d316cc4d-1f93-489f-b0eb-7356d69ed217\" 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-cb884e60-e273-4773-876a-669c84042819\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -376.09005%, 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.546448087431694% 0.546448087431694% 0.546448087431694% 0.546448087431694% \/ 1.2658227848101267% 1.2658227848101267% 1.2658227848101267% 1.2658227848101267%\" id=\"el-776533df-5ce2-4479-b066-ac0f8cee2dec\">\n<h3 id=\"the-principles-are-crucial-to-keeping-system-design-efficient-and-scalable-programmers-use-it-to-avoid-design-smells-and-come-up-with-best-designs-when-developing-new-features\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08452868852458997% 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\">The principles are crucial to keeping system design efficient and scalable. Programmers use it to avoid design smells and come up with best designs when developing new features.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:5.33981%;top:39.96764%;width:88.83495%;height:14.40129%;opacity:1\">\n<div id=\"anim-089ec3fe-014b-4d39-a0df-d93ecaa199a1\" 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-49086e2d-0787-4441-ba56-91fe7a97b459\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -441.82285%, 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.546448087431694% 0.546448087431694% 0.546448087431694% 0.546448087431694% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-1731001b-41d9-4fe4-a0d5-020bb9e22ffb\">\n<h1 id=\"why-should-we-use-them\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09409153005464466% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.614887em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Why should we use them?<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-a0cf34c3-a4bf-4430-9db0-117b164aecf0\">\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>\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\/Data-Analyst-Resume.png\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"2de44bac-6833-4674-9d93-19255e572cb3\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-952080eb-5164-4cc0-8573-c5cd6e74324a\",\"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-137478ca-c698-4883-9fcb-eba2f26ee474\",\"keyframes\":{\"transform\":[\"translate3d(0px, -291.27572%, 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-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d18f94bc-0c82-4a94-a0f6-24782ef13430\",\"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-22106c10-b345-43d2-9507-105de9569119\",\"keyframes\":{\"transform\":[\"translate3d(0px, -377.98879%, 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:#000\">\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-d4a14d39-a1be-4d86-94a4-a801cd5f4061\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-9.54693%;width:123.78641%;height:66.18123%;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-d143559c-371f-4dbc-9b03-a78e5976cbc4\">\n<div style=\"position:absolute;width:120.13436%;height:100%;left:-10.06718%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max\" alt=\"MacBook Pro\" srcSet=\"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=6016&amp;h=4016&amp;fit=max 6016w,https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4812&amp;h=3212&amp;fit=max 4812w,https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3609&amp;h=2409&amp;fit=max 3609w,https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2406&amp;h=1606&amp;fit=max 2406w,https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1203&amp;h=803&amp;fit=max 1203w,https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 56vh, 124vw\" 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 style=\"position:absolute;pointer-events:none;left:8.49515%;top:32.52427%;width:84.2233%;height:21.84466%;opacity:1\">\n<div id=\"anim-952080eb-5164-4cc0-8573-c5cd6e74324a\" 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-137478ca-c698-4883-9fcb-eba2f26ee474\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -291.27572%, 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.5763688760806917% 0.5763688760806917% 0.5763688760806917% 0.5763688760806917% \/ 1.4814814814814816% 1.4814814814814816% 1.4814814814814816% 1.4814814814814816%\" id=\"el-596dd8d5-9393-4e67-82c8-04d4a424d1e0\">\n<h1 id=\"1-single-responsibility-principle\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09924351585014393% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.614887em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">1. Single Responsibility Principle<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.03883%;top:61.8123%;width:86.16505%;height:25.56634%;opacity:1\">\n<div id=\"anim-d18f94bc-0c82-4a94-a0f6-24782ef13430\" 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-22106c10-b345-43d2-9507-105de9569119\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -377.98879%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.2658227848101267% 1.2658227848101267% 1.2658227848101267% 1.2658227848101267%\" id=\"el-39cc6ecf-e103-460e-95b2-2807bf37b394\">\n<h3 id=\"it-states-that-a-class-must-perform-only-one-function-to-simplify-code-and-maintenance-with-fewer-dependencies-between-functionalities-its-easier-to-add-new-features\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08714788732394346% 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\">It states that a class must perform only one function to simplify code and maintenance. With fewer dependencies between functionalities, it&#8217;s easier to add new features.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-10190f84-087d-430a-aa2d-173a5980efb4\">\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>\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\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"b9912343-fe55-4c82-92ad-4c67de5e1f8d\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2544469f-7903-4122-82f8-739825cf242c\",\"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-79e73575-28b0-4f78-ad56-44d2cac29464\",\"keyframes\":{\"transform\":[\"translate3d(0px, -433.95765%, 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-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5c611446-4d4a-4c7f-ad6c-facd516eb3c7\",\"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-3118c077-7e98-4512-9f95-c383ce149b49\",\"keyframes\":{\"transform\":[\"translate3d(0px, -378.6217%, 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:#000\">\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-65c00aa7-858d-4475-afc3-dd8fd274002b\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-9.2233%;width:107.52427%;height:65.69579%;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-39ae3aa1-2bfb-4f32-a6a3-c1714c81bfb5\">\n<div style=\"position:absolute;width:137.47178%;height:100%;left:-0.22155%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3999&amp;h=2666&amp;fit=max\" alt=\"white printer paper beside silver laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3999&amp;h=2666&amp;fit=max 3999w,https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3199&amp;h=2133&amp;fit=max 3199w,https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2399&amp;h=1599&amp;fit=max 2399w,https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1599&amp;h=1066&amp;fit=max 1599w,https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=799&amp;h=533&amp;fit=max 799w,https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 48vh, 108vw\" 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 style=\"position:absolute;pointer-events:none;left:8.00971%;top:38.83495%;width:83.73786%;height:14.40129%;opacity:1\">\n<div id=\"anim-2544469f-7903-4122-82f8-739825cf242c\" 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-79e73575-28b0-4f78-ad56-44d2cac29464\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -433.95765%, 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.5797101449275363% 0.5797101449275363% 0.5797101449275363% 0.5797101449275363% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-767fc250-2562-45ad-8f4a-1e32b408a7c5\">\n<h1 id=\"2-open-closed-principle\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09981884057970998% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.614887em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">2. Open-Closed Principle<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:7.76699%;top:61.97411%;width:85.67961%;height:25.56634%;opacity:1\">\n<div id=\"anim-5c611446-4d4a-4c7f-ad6c-facd516eb3c7\" 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-3118c077-7e98-4512-9f95-c383ce149b49\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -378.6217%, 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.56657223796034% 0.56657223796034% 0.56657223796034% 0.56657223796034% \/ 1.2658227848101267% 1.2658227848101267% 1.2658227848101267% 1.2658227848101267%\" id=\"el-855a7ac5-7626-4c3c-9738-f63dc9ab3817\">\n<h3 id=\"it-states-that-classes-should-be-open-to-extension-but-closed-to-modification-code-should-be-devised-in-a-way-that-allows-you-to-add-new-features-without-modifying-existing-code\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08764164305948988% 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\">It states that classes should be open to extension but closed to modification. Code should be devised in a way that allows you to add new features without modifying existing code.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-a43edea5-5fac-4f53-b179-32fb7078587c\">\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>\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\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"2f4c3bfa-1b79-4455-83dc-532f86d0bc9d\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-75bf966b-5c04-4b17-8c3b-dcca384100b4\",\"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-19db319c-edcd-4fd4-8691-cedefd6c5bcd\",\"keyframes\":{\"transform\":[\"translate3d(0px, -289.05348%, 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-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-cb6fbf5c-2000-41da-87b7-c09cd9c5d57e\",\"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-344d8ced-b280-45a4-ba05-6a9ae3603a04\",\"keyframes\":{\"transform\":[\"translate3d(0px, -520.02105%, 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:#000\">\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-cc4b173d-8fd8-48b6-8eb7-85921bb48fbb\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-9.54693%;width:123.54369%;height:66.34304%;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-760b6986-5b0f-4522-95ec-285d051cf473\">\n<div style=\"position:absolute;width:120.69395%;height:100%;left:-10.34698%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=7360&amp;h=4912&amp;fit=max\" alt=\"person holding pencil near laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=7360&amp;h=4912&amp;fit=max 7360w,https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=5888&amp;h=3930&amp;fit=max 5888w,https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4416&amp;h=2947&amp;fit=max 4416w,https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2944&amp;h=1965&amp;fit=max 2944w,https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1472&amp;h=982&amp;fit=max 1472w,https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 56vh, 124vw\" 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 style=\"position:absolute;pointer-events:none;left:7.76699%;top:32.03883%;width:84.70874%;height:21.84466%;opacity:1\">\n<div id=\"anim-75bf966b-5c04-4b17-8c3b-dcca384100b4\" 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-19db319c-edcd-4fd4-8691-cedefd6c5bcd\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -289.05348%, 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.5730659025787965% 0.5730659025787965% 0.5730659025787965% 0.5730659025787965% \/ 1.4814814814814816% 1.4814814814814816% 1.4814814814814816% 1.4814814814814816%\" id=\"el-36f3d71a-b543-4841-870a-5b5d9e70d9bc\">\n<h1 id=\"3-liskov-substitution-principle\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09867478510028638% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.614887em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">3. Liskov Substitution Principle<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:8.00971%;top:62.78317%;width:84.46602%;height:17.1521%;opacity:1\">\n<div id=\"anim-cb6fbf5c-2000-41da-87b7-c09cd9c5d57e\" 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-344d8ced-b280-45a4-ba05-6a9ae3603a04\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -520.02105%, 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.5747126436781609% 0.5747126436781609% 0.5747126436781609% 0.5747126436781609% \/ 1.8867924528301887% 1.8867924528301887% 1.8867924528301887% 1.8867924528301887%\" id=\"el-a8688468-7b9d-4b24-ab56-b87252eb88b8\">\n<h3 id=\"it-states-that-program-objects-should-be-replaceable-by-instances-of-their-subtypes-without-altering-programs-correctness\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08890086206896532% 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\">It states that program objects should be replaceable by instances of their subtypes without altering program&#8217;s correctness.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-a5e11e10-893f-43e0-8d41-d2b744d877b4\">\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>\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\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"66b1ec3d-4a3c-4520-8104-d39762c8d618\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f7b6f1cf-b3e6-47e2-b247-17d5a4ca7bdf\",\"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-6a824e1b-09be-48e2-a12b-31559c74c029\",\"keyframes\":{\"transform\":[\"translate3d(0px, -293.49795%, 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-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e0a6cb0c-5908-4c36-9f2e-31756f5d4732\",\"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-b4634600-79d4-4468-b953-e9e1685a9606\",\"keyframes\":{\"transform\":[\"translate3d(0px, -512.47387%, 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:#000\">\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-cf63b70b-3688-4da8-a54c-421752a73811\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-9.54693%;width:102.42718%;height:66.34304%;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-38a072a9-60ec-4315-a69c-62d69ddba535\">\n<div style=\"position:absolute;width:145.7346%;height:100%;left:-1.03147%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max\" alt=\"man using Apple desktop inside room beside man\" srcSet=\"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max 6000w,https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4800&amp;h=3200&amp;fit=max 4800w,https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3600&amp;h=2400&amp;fit=max 3600w,https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=1600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1200&amp;h=800&amp;fit=max 1200w,https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 46vh, 102vw\" 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 style=\"position:absolute;pointer-events:none;left:6.5534%;top:33.00971%;width:85.67961%;height:21.84466%;opacity:1\">\n<div id=\"anim-f7b6f1cf-b3e6-47e2-b247-17d5a4ca7bdf\" 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-6a824e1b-09be-48e2-a12b-31559c74c029\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -293.49795%, 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.56657223796034% 0.56657223796034% 0.56657223796034% 0.56657223796034% \/ 1.4814814814814816% 1.4814814814814816% 1.4814814814814816% 1.4814814814814816%\" id=\"el-066af134-c780-4b9f-9ae8-c584cd713119\">\n<h1 id=\"4-interface-segregation-principle\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09755665722379588% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.614887em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">4. Interface Segregation Principle<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.5534%;top:61.48867%;width:86.16505%;height:17.1521%;opacity:1\">\n<div id=\"anim-e0a6cb0c-5908-4c36-9f2e-31756f5d4732\" 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-b4634600-79d4-4468-b953-e9e1685a9606\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -512.47387%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.8867924528301887% 1.8867924528301887% 1.8867924528301887% 1.8867924528301887%\" id=\"el-b9117e99-88dd-4380-a445-e68f32ed1771\">\n<h3 id=\"it-states-that-clients-shouldnt-be-forced-to-rely-on-interfaces-they-dont-use-it-makes-your-code-more-readable-and-maintainable\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08714788732394346% 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\">It states that clients shouldn&#8217;t be forced to rely on interfaces they don&#8217;t use. It makes your code more readable and maintainable.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-d73870f6-761a-4567-be7a-f43f8492cfb1\">\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>\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-Java-2048x1000.png\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"b22db658-5618-4107-8da3-dbbfd41ad152\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-22b6b15e-ac63-41b7-87ab-dd555410098f\",\"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-8904336e-90da-462b-a362-402d2e5e4897\",\"keyframes\":{\"transform\":[\"translate3d(0px, -428.33968%, 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-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f41144cc-118c-4b3c-98c4-2acc45dbc308\",\"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-3463a572-671a-4c12-9e73-07bc113b6755\",\"keyframes\":{\"transform\":[\"translate3d(0px, -376.72295%, 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:#000\">\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-9d0462ec-b6da-4327-b30e-4118d0fcc415\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/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:-9.38511%;width:127.6699%;height:65.04854%;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-e513e9ba-a7a5-40da-8a70-3d1631cd7ff1\">\n<div style=\"position:absolute;width:114.57953%;height:100%;left:-7.28977%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=7736&amp;h=5160&amp;fit=max\" alt=\"person holding black iphone 4\" srcSet=\"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=7736&amp;h=5160&amp;fit=max 7736w,https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=6188&amp;h=4127&amp;fit=max 6188w,https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4641&amp;h=3096&amp;fit=max 4641w,https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3094&amp;h=2064&amp;fit=max 3094w,https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1547&amp;h=1032&amp;fit=max 1547w,https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 57vh, 128vw\" 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 style=\"position:absolute;pointer-events:none;left:6.5534%;top:38.02589%;width:85.67961%;height:14.40129%;opacity:1\">\n<div id=\"anim-22b6b15e-ac63-41b7-87ab-dd555410098f\" 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-8904336e-90da-462b-a362-402d2e5e4897\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -428.33968%, 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.56657223796034% 0.56657223796034% 0.56657223796034% 0.56657223796034% \/ 2.247191011235955% 2.247191011235955% 2.247191011235955% 2.247191011235955%\" id=\"el-60d7321a-3e39-47f6-ab1b-3622d7f84274\">\n<h1 id=\"5-dependency-inversion-principle\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.09755665722379588% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.614887em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">5. Dependency Inversion Principle<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:6.5534%;top:61.48867%;width:86.16505%;height:25.56634%;opacity:1\">\n<div id=\"anim-f41144cc-118c-4b3c-98c4-2acc45dbc308\" 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-3463a572-671a-4c12-9e73-07bc113b6755\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -376.72295%, 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.5633802816901409% 0.5633802816901409% 0.5633802816901409% 0.5633802816901409% \/ 1.2658227848101267% 1.2658227848101267% 1.2658227848101267% 1.2658227848101267%\" id=\"el-e1c33ea9-9fc5-46f4-840b-52d2b4807e33\">\n<h3 id=\"it-states-that-classes-should-rely-on-abstract-classes-interfaces-rather-than-concrete-types-abstraction-between-high-level-and-low-level-classes-will-allow-us-to-decouple-them\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.08714788732394346% 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\">It states that classes should rely on abstract classes\/interfaces rather than concrete types. &nbsp;Abstraction between high-level and low-level classes will allow us to decouple them.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-842104a4-22a0-41e9-a69c-363586e56b3b\">\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>\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\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">Learn more<\/a><\/amp-story-page-outlink><\/amp-story-page><amp-story-page id=\"a4b5aefe-1f07-4809-88e6-f52244139f33\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-1442fc15-8647-4f4c-a3ee-decd9af7f1fa\",\"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-66d04034-f0cf-4143-8245-a4c1f9f2b2f0\",\"keyframes\":{\"transform\":[\"translate3d(0px, -185.16218%, 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:#8c8c8c\">\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-922911b1-2867-4cb1-a749-ffcc001a0654\">\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-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"black flat screen computer monitor on black wooden desk\" srcSet=\"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&amp;ixlib=rb-1.2.1&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 54vh, 120vw\" 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:11.65049%;top:35.11327%;width:79.61165%;height:52.10356%;opacity:1\">\n<div id=\"anim-1442fc15-8647-4f4c-a3ee-decd9af7f1fa\" 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-66d04034-f0cf-4143-8245-a4c1f9f2b2f0\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(0px, -185.16218%, 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.6097560975609756% 0.6097560975609756% 0.6097560975609756% 0.6097560975609756% \/ 0.6211180124223602% 0.6211180124223602% 0.6211180124223602% 0.6211180124223602%\" id=\"el-831f5c41-a7b0-4ec3-b888-819f16ad589b\">\n<h1 id=\"click-here-to-view-detailed-implementation-of-the-solid-principle-in-c\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.19293064024390244% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.728155em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Click here to view detailed implementation of the SOLID Principle in C#\u2026.<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:0;top:-4.85437%;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-6aa5b86c-ef13-40ec-aa3c-d9cc2cebef1c\">\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>\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\" theme=\"light\"><a href=\"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&amp;utm_medium=solid-principles-in-c-sharp&amp;utm_campaign=webstories\" rel=\"\">SWIPE UP<\/a><\/amp-story-page-outlink><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"In this web story, you will be guided through each of the SOLID Design principles for C# as part of your programming journey.\n","protected":false},"author":21,"featured_media":13593,"template":"","meta":{"_daextam_enable_autolinks":"","web_stories_products":[],"web_stories_publisher_logo":1082,"web_stories_poster":[]},"web_story_category":[1798],"web_story_tag":[1810,1809],"amp_enabled":false,"story_data":{"version":43,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":48,"y":0,"width":330,"height":473,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"6d6aa5dd-d543-44ae-953d-8ce6ac9cb5c5","scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#262626","blurHash":"L871vO_4n$nh_4?c%Mt7xu%M%hx]","type":"image","mimeType":"image\/jpeg","creationDate":"2018-03-08T11:46:32Z","src":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=3995&h=5737&fit=max","width":3995,"height":5737,"id":"media\/unsplash:MuJHwDHbXUk","alt":"Lines of code","sizes":{"full":{"file":"media\/unsplash:MuJHwDHbXUk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=3995&h=5737&fit=max","mimeType":"image\/jpeg","width":3995,"height":5737},"large":{"file":"media\/unsplash:MuJHwDHbXUk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=3196&h=4590&fit=max","mimeType":"image\/jpeg","width":3196,"height":4590},"2397_3442":{"file":"media\/unsplash:MuJHwDHbXUk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=2397&h=3442&fit=max","mimeType":"image\/jpeg","width":2397,"height":3442},"1598_2295":{"file":"media\/unsplash:MuJHwDHbXUk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=1598&h=2295&fit=max","mimeType":"image\/jpeg","width":1598,"height":2295},"799_1147":{"file":"media\/unsplash:MuJHwDHbXUk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=799&h=1147&fit=max","mimeType":"image\/jpeg","width":799,"height":1147},"web_stories_thumbnail":{"file":"media\/unsplash:MuJHwDHbXUk","sourceUrl":"https:\/\/images.unsplash.com\/photo-1520509414578-d9cbf09933a1?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHw0fHxjJTIzfGVufDB8fHx8MTY2NjA5MzA5Ng&ixlib=rb-1.2.1&fm=jpg&w=340&h=488&fit=max","mimeType":"image\/jpeg","width":340,"height":488}},"attribution":{"author":{"displayName":"Oscar Nord","url":"https:\/\/unsplash.com\/@oscnord?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpzpDt064ImLFyIQixUzQFkfME4WJ1V3iZBHs5cO5w8r2zD%2BsppCmmdrxRPmXaVP3KgZ2Nweu0BHfgrNeg\/1CkfxHwoNEkEJDpmaGHbyVptrnGIjwDWAzVpnGcTKPloe8r8rAnI6E%2BGOMNsSAMvYYSH6CWcHSeLaKMl\/Pe8pAQv5pSz%2BWLR3idq\/829qCOAb%2B8w6\/IYInII%2B4kCkwf3iOJG69GqkfcwpjhE"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":48,"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=\"font-weight: 700; color: #fff\">SOLID Design Principles in C#&nbsp;<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":54,"y":318,"width":330,"height":171,"scale":100,"focalX":50,"focalY":50,"id":"359c211d-8a30-4195-862d-1129d0c4dadd","marginOffset":0.8881249999999952},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"53161cff-8833-44d3-ab1d-d5cd6fcf85c1","id":"dea52b7e-ed90-4591-bd8b-f924ef693ffb"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":98.8605345730749,"focalX":50.57296675566825,"focalY":49.92213418599167,"resource":{"baseColor":"#040404","type":"image","mimeType":"image\/gif","creationDate":"2021-07-07T21:49:55Z","src":"https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAi\/raf-rafs.gif","width":498,"height":102,"id":"media\/tenor:15790949062376147774","alt":"Raf Rafs Sticker","sizes":{"full":{"file":"media\/tenor:15790949062376147774","sourceUrl":"https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAi\/raf-rafs.gif","mimeType":"image\/gif","width":498,"height":102},"large":{"file":"media\/tenor:15790949062376147774","sourceUrl":"https:\/\/c.tenor.com\/2yS4ghk3yz4AAAAq\/tenor.gif","mimeType":"image\/gif","width":498,"height":102},"200_41":{"file":"media\/tenor:15790949062376147774","sourceUrl":"https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAj\/raf-rafs.gif","mimeType":"image\/gif","width":200,"height":41},"web_stories_thumbnail":{"file":"media\/tenor:15790949062376147774","sourceUrl":"https:\/\/media.tenor.com\/2yS4ghk3yz4AAAAk\/raf-rafs.gif","mimeType":"image\/gif","width":90,"height":18}},"attribution":{"author":{"displayName":"RafsDesign","url":"https:\/\/tenor.com\/official\/RafsDesign"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4trl4XnDXkWZPOcLjPjIELcHW5iFOoEgB0zFd6U%2BppRLza4aidTAKge\/pn29G9KPT7aBjVDrbFWESVjDKBrL6sfwzFY%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":24,"y":567,"width":363,"height":75,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"f537cd02-68af-4cd5-a1e0-ed6240266f29","resizeWidth":222.02913,"resizeHeight":46},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #dbca09\">A Complete Guide<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":54,"y":511,"width":293,"height":35,"scale":100,"focalX":50,"focalY":50,"id":"7c5da466-2c32-4bf7-a931-8f7b03858040"}],"backgroundColor":{"color":{"r":69,"g":69,"b":69}},"type":"page","id":"26ff3476-559e-4e31-8627-e8fb11272b48","animations":[],"defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"8e4134c1-198b-42b7-b60c-276133fb7633"},"pageAttachment":{"url":"","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/Software-Engineer-Salary-in-India.jpg","needsProxy":false}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"b608fe77-dd39-4d54-858a-12a700f45fd5","basedOn":"5640dfec-8fa7-4426-8b18-dc2255757615"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LaMjR1~qJU%MrCIUSg-p01aKozM{","type":"image","mimeType":"image\/jpeg","creationDate":"2019-08-13T09:29:02Z","src":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=4000&h=2667&fit=max","width":4000,"height":2667,"id":"media\/unsplash:TFFn3BYLc5s","alt":"person wearing black coat close-up photography","sizes":{"full":{"file":"media\/unsplash:TFFn3BYLc5s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=4000&h=2667&fit=max","mimeType":"image\/jpeg","width":4000,"height":2667},"large":{"file":"media\/unsplash:TFFn3BYLc5s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=3200&h=2134&fit=max","mimeType":"image\/jpeg","width":3200,"height":2134},"2400_1600":{"file":"media\/unsplash:TFFn3BYLc5s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=2400&h=1600&fit=max","mimeType":"image\/jpeg","width":2400,"height":1600},"1600_1067":{"file":"media\/unsplash:TFFn3BYLc5s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=1600&h=1067&fit=max","mimeType":"image\/jpeg","width":1600,"height":1067},"800_533":{"file":"media\/unsplash:TFFn3BYLc5s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=800&h=533&fit=max","mimeType":"image\/jpeg","width":800,"height":533},"web_stories_thumbnail":{"file":"media\/unsplash:TFFn3BYLc5s","sourceUrl":"https:\/\/images.unsplash.com\/photo-1565688534245-05d6b5be184a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"attribution":{"author":{"displayName":"Van Tay Media","url":"https:\/\/unsplash.com\/@vantaymedia?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tr8CEMS7%2BzY8JJl\/tciEmOoXvdNDwVVr6\/Y%2BHKsHtq6lY43Snin7dV2\/wSZQr0Vu2DEagb\/ZC\/eyT1y3j8ScSSwEYG83ErZjDkRCYg2X8hgDsS0DtoQG2zyZntc3rjSSR6y2p\/Zd%2BkT1T5KFizdiCahHKxFvJjXpxeIYBenxqiYcs2HJTj7kzbCuRVDhRlR1r4Tzjj4IVah4YF5hiUNIj6tSDSGS\/Z5UUoNhuQ%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":0,"y":-67,"width":488,"height":416,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"44461bd1-0af7-41e2-aaa1-39c63f8fcadc","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">The principles are crucial to keeping system design efficient and scalable. Programmers use it to avoid design smells and come up with best designs when developing new features.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":24,"y":379,"width":366,"height":158,"scale":100,"focalX":50,"focalY":50,"id":"776533df-5ce2-4479-b066-ac0f8cee2dec","link":{"needsProxy":false,"url":"https:\/\/www.interviewbit.com\/blog\/software-engineer-developer-salary\/","rel":[],"icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/07\/Software-Engineer-Salary-in-India.jpg","desc":"Software Engineer\/Developer Salary in India [2022] \u2013 For Freshers & Experienced - InterviewBit"},"marginOffset":0.7593749999999986,"basedOn":"88831a46-e7d2-4432-99d9-2af806d9adee"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":38,"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=\"font-weight: 700; color: #fff\">Why should we use them?<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":22,"y":247,"width":366,"height":89,"scale":100,"focalX":50,"focalY":50,"id":"1731001b-41d9-4fe4-a0d5-020bb9e22ffb","basedOn":"4e7926aa-8421-44d6-826f-462831f798ca"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"dea52b7e-ed90-4591-bd8b-f924ef693ffb","id":"a0cf34c3-a4bf-4430-9db0-117b164aecf0"}],"animations":[{"id":"98191817-2b92-4ef5-959e-4c7c398dd4d0","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["1731001b-41d9-4fe4-a0d5-020bb9e22ffb"]},{"id":"53b6f1ca-6c14-4413-a7c2-e5130db31150","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["776533df-5ce2-4479-b066-ac0f8cee2dec"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"5d9add10-0bb8-412f-8187-bd8aa9971eba","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5640dfec-8fa7-4426-8b18-dc2255757615"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2021\/12\/Data-Analyst-Resume.png","needsProxy":false,"theme":"light"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"d4a14d39-a1be-4d86-94a4-a801cd5f4061","basedOn":"5640dfec-8fa7-4426-8b18-dc2255757615"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LUIrBH8_IU4T_3?HMx9FoMxWR*%3","type":"image","mimeType":"image\/jpeg","creationDate":"2019-11-07T22:10:23Z","src":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=6016&h=4016&fit=max","width":6016,"height":4016,"id":"media\/unsplash:2JDDn7iSGH8","alt":"MacBook Pro","sizes":{"full":{"file":"media\/unsplash:2JDDn7iSGH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=6016&h=4016&fit=max","mimeType":"image\/jpeg","width":6016,"height":4016},"large":{"file":"media\/unsplash:2JDDn7iSGH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=4812&h=3212&fit=max","mimeType":"image\/jpeg","width":4812,"height":3212},"3609_2409":{"file":"media\/unsplash:2JDDn7iSGH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=3609&h=2409&fit=max","mimeType":"image\/jpeg","width":3609,"height":2409},"2406_1606":{"file":"media\/unsplash:2JDDn7iSGH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=2406&h=1606&fit=max","mimeType":"image\/jpeg","width":2406,"height":1606},"1203_803":{"file":"media\/unsplash:2JDDn7iSGH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=1203&h=803&fit=max","mimeType":"image\/jpeg","width":1203,"height":803},"web_stories_thumbnail":{"file":"media\/unsplash:2JDDn7iSGH8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1573164574472-797cdf4a583a?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxfHxzb2Z0d2FyZSUyMHRlc3Rpbmd8ZW58MHx8fHwxNjY0ODk0OTk4&ixlib=rb-1.2.1&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"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=AQBR4tpmpGpQk%2ByKW8%2BowU3bRPJ5jwGqLqox9BqUVYuAszuMikt0uauvvBFMb2QnbH33MRQWAKpXophKM9nBSo8YN46UhAmyMzLwdhmHcYRPpg\/7Bgspoqucp4yefCwpYKaj2mBeciaR7E6Od8MjgMfTPcN6EED4YfxjwwYmiZQpBXw3%2BF0P7IUaCtuQvfVcZHf7R\/KtUIDsxhUCACRA5ui43BwQ0%2BAYg5\/BmbTxijpcvSxIdTQuktvdXvSSwZTx"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":0,"y":-59,"width":510,"height":409,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"d143559c-371f-4dbc-9b03-a78e5976cbc4","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":38,"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=\"font-weight: 700; color: #fff\">1. Single Responsibility Principle<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":35,"y":201,"width":347,"height":135,"scale":100,"focalX":50,"focalY":50,"id":"596dd8d5-9393-4e67-82c8-04d4a424d1e0"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">It states that a class must perform only one function to simplify code and maintenance. With fewer dependencies between functionalities, it's easier to add new features.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":29,"y":382,"width":355,"height":158,"scale":100,"focalX":50,"focalY":50,"id":"39cc6ecf-e103-460e-95b2-2807bf37b394"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"dea52b7e-ed90-4591-bd8b-f924ef693ffb","id":"10190f84-087d-430a-aa2d-173a5980efb4"}],"animations":[{"id":"55d8debc-cca7-4304-a1c6-1994fc0a3399","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["596dd8d5-9393-4e67-82c8-04d4a424d1e0"]},{"id":"6ad6953e-2760-4c07-8baa-fe946ca12aba","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["39cc6ecf-e103-460e-95b2-2807bf37b394"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"2de44bac-6833-4674-9d93-19255e572cb3","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5640dfec-8fa7-4426-8b18-dc2255757615"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"theme":"light"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"65c00aa7-858d-4475-afc3-dd8fd274002b","basedOn":"d4a14d39-a1be-4d86-94a4-a801cd5f4061"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":36.53226303661669,"focalY":49.94415430606382,"resource":{"baseColor":"#d9d9d9","blurHash":"LUM@fm~W9Fx]00%gRPozkWRjt7o#","type":"image","mimeType":"image\/jpeg","creationDate":"2020-04-07T17:50:23Z","src":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=3999&h=2666&fit=max","width":3999,"height":2666,"id":"media\/unsplash:7iSEHWsxPLw","alt":"white printer paper beside silver laptop computer","sizes":{"full":{"file":"media\/unsplash:7iSEHWsxPLw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=3999&h=2666&fit=max","mimeType":"image\/jpeg","width":3999,"height":2666},"large":{"file":"media\/unsplash:7iSEHWsxPLw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=3199&h=2133&fit=max","mimeType":"image\/jpeg","width":3199,"height":2133},"2399_1599":{"file":"media\/unsplash:7iSEHWsxPLw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=2399&h=1599&fit=max","mimeType":"image\/jpeg","width":2399,"height":1599},"1599_1066":{"file":"media\/unsplash:7iSEHWsxPLw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=1599&h=1066&fit=max","mimeType":"image\/jpeg","width":1599,"height":1066},"799_533":{"file":"media\/unsplash:7iSEHWsxPLw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=799&h=533&fit=max","mimeType":"image\/jpeg","width":799,"height":533},"web_stories_thumbnail":{"file":"media\/unsplash:7iSEHWsxPLw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1586281380349-632531db7ed4?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwzfHxyZXN1bWV8ZW58MHx8fHwxNjY1Mzk3Mzg2&ixlib=rb-1.2.1&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"attribution":{"author":{"displayName":"Markus Winkler","url":"https:\/\/unsplash.com\/@markuswinkler?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tqkuNbV1TO3k8g5ylAAZQZeIX\/Q3rDOPkXjkshhNPkxNzdbE9rMFH1Bc4Q\/FAs\/eKNVlP\/qwXFpDVnVakRkp1QxM5NWlcAVMEHk76pN\/ofXkg0oRQGkcVIgapPBAR33wllOCzyuMNUcWq00tQEniEYC2r1gN\/0uQvmJ8Cxk%2BpYqOIaymW1%2B39C5JapyIklXFpubIzBqRPf14RFeFFsfjaplFjfotwIdHKf\/DNE%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":0,"y":-57,"width":443,"height":406,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"39ae3aa1-2bfb-4f32-a6a3-c1714c81bfb5","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":38,"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=\"font-weight: 700; color: #fff\">2. Open-Closed Principle<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":33,"y":240,"width":345,"height":89,"scale":100,"focalX":50,"focalY":50,"basedOn":"596dd8d5-9393-4e67-82c8-04d4a424d1e0","id":"767fc250-2562-45ad-8f4a-1e32b408a7c5","marginOffset":0.5799999999999983},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">It states that classes should be open to extension but closed to modification. Code should be devised in a way that allows you to add new features without modifying existing code.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":32,"y":383,"width":353,"height":158,"scale":100,"focalX":50,"focalY":50,"id":"855a7ac5-7626-4c3c-9738-f63dc9ab3817"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"dea52b7e-ed90-4591-bd8b-f924ef693ffb","id":"a43edea5-5fac-4f53-b179-32fb7078587c"}],"animations":[{"id":"572bf11a-d57a-44a6-90ea-affec26771a1","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["767fc250-2562-45ad-8f4a-1e32b408a7c5"]},{"id":"678ecf81-5bdc-4815-afbb-0921507cf1a2","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["855a7ac5-7626-4c3c-9738-f63dc9ab3817"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"b9912343-fe55-4c82-92ad-4c67de5e1f8d","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5640dfec-8fa7-4426-8b18-dc2255757615"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"theme":"light"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"cc4b173d-8fd8-48b6-8eb7-85921bb48fbb","basedOn":"65c00aa7-858d-4475-afc3-dd8fd274002b"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#c0d9d9","blurHash":"LOIO,~9F8xxuyDofIUV@Ege-ofjF","type":"image","mimeType":"image\/jpeg","creationDate":"2016-01-30T14:58:32Z","src":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=7360&h=4912&fit=max","width":7360,"height":4912,"id":"media\/unsplash:5fNmWej4tAA","alt":"person holding pencil near laptop computer","sizes":{"full":{"file":"media\/unsplash:5fNmWej4tAA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=7360&h=4912&fit=max","mimeType":"image\/jpeg","width":7360,"height":4912},"large":{"file":"media\/unsplash:5fNmWej4tAA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=5888&h=3930&fit=max","mimeType":"image\/jpeg","width":5888,"height":3930},"4416_2947":{"file":"media\/unsplash:5fNmWej4tAA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=4416&h=2947&fit=max","mimeType":"image\/jpeg","width":4416,"height":2947},"2944_1965":{"file":"media\/unsplash:5fNmWej4tAA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=2944&h=1965&fit=max","mimeType":"image\/jpeg","width":2944,"height":1965},"1472_982":{"file":"media\/unsplash:5fNmWej4tAA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=1472&h=982&fit=max","mimeType":"image\/jpeg","width":1472,"height":982},"web_stories_thumbnail":{"file":"media\/unsplash:5fNmWej4tAA","sourceUrl":"https:\/\/images.unsplash.com\/photo-1454165804606-c3d57bc86b40?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxM3x8cmVzdW1lfGVufDB8fHx8MTY2NTM5NzM4Ng&ixlib=rb-1.2.1&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"attribution":{"author":{"displayName":"Scott Graham","url":"https:\/\/unsplash.com\/@homajob?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4tpEwBnk2Boy6CmRa3EoqR0DH2Lxy2maTAn0vZO%2ByTL%2BaLvuqGT2l7Ufr3TjlozidEz25nyJulB\/iT6gKBt2jhPS2l4g7moV1cIJ%2BI\/z37hSZKri%2BEELXmDZUbP9XbEsf0iZr0qg6o8o%2BZgYDprmFCuEPz4Hf6cXEa3gfKsEbuGKNbOR9DxgpstWSflQYANKHStxlGh7y44H9ZFHoOI6nhbzwHAYoUNL4BgxuETBDA%3D%3D"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":0,"y":-59,"width":509,"height":410,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"760b6986-5b0f-4522-95ec-285d051cf473","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":38,"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=\"font-weight: 700; color: #fff\">3. Liskov Substitution Principle<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":32,"y":198,"width":349,"height":135,"scale":100,"focalX":50,"focalY":50,"basedOn":"767fc250-2562-45ad-8f4a-1e32b408a7c5","marginOffset":0.5799999999999983,"id":"36f3d71a-b543-4841-870a-5b5d9e70d9bc"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">It states that program objects should be replaceable by instances of their subtypes without altering program's correctness.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":33,"y":388,"width":348,"height":106,"scale":100,"focalX":50,"focalY":50,"id":"a8688468-7b9d-4b24-ab56-b87252eb88b8"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"dea52b7e-ed90-4591-bd8b-f924ef693ffb","id":"a5e11e10-893f-43e0-8d41-d2b744d877b4"}],"animations":[{"id":"b7ceab97-f897-4a83-8f4c-4429a594402f","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["36f3d71a-b543-4841-870a-5b5d9e70d9bc"]},{"id":"0e2871a5-71bb-4f69-9f09-0478b36a07ee","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["a8688468-7b9d-4b24-ab56-b87252eb88b8"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"2f4c3bfa-1b79-4455-83dc-532f86d0bc9d","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5640dfec-8fa7-4426-8b18-dc2255757615"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"theme":"light"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"cf63b70b-3688-4da8-a54c-421752a73811","basedOn":"cc4b173d-8fd8-48b6-8eb7-85921bb48fbb"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":35.01671417004787,"focalY":49.821872160356506,"resource":{"baseColor":"#262626","blurHash":"LGGR;mE2E2%f*0?GV@xu4.bwxtRl","type":"image","mimeType":"image\/jpeg","creationDate":"2019-05-24T11:56:21Z","src":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=6000&h=4000&fit=max","width":6000,"height":4000,"id":"media\/unsplash:OSiLnlAcwYg","alt":"man using Apple desktop inside room beside man","sizes":{"full":{"file":"media\/unsplash:OSiLnlAcwYg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=6000&h=4000&fit=max","mimeType":"image\/jpeg","width":6000,"height":4000},"large":{"file":"media\/unsplash:OSiLnlAcwYg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=4800&h=3200&fit=max","mimeType":"image\/jpeg","width":4800,"height":3200},"3600_2400":{"file":"media\/unsplash:OSiLnlAcwYg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=3600&h=2400&fit=max","mimeType":"image\/jpeg","width":3600,"height":2400},"2400_1600":{"file":"media\/unsplash:OSiLnlAcwYg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=2400&h=1600&fit=max","mimeType":"image\/jpeg","width":2400,"height":1600},"1200_800":{"file":"media\/unsplash:OSiLnlAcwYg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=1200&h=800&fit=max","mimeType":"image\/jpeg","width":1200,"height":800},"web_stories_thumbnail":{"file":"media\/unsplash:OSiLnlAcwYg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1558698972-c50e325e6799?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwyOHx8c29mdHdhcmUlMjBkZXZlbG9wZXJzfGVufDB8fHx8MTY2MzE1Nzc1Mg&ixlib=rb-1.2.1&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"attribution":{"author":{"displayName":"Patrick Amoy","url":"https:\/\/unsplash.com\/@napzphoto?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=ARX97wMyAIUCRTN\/RlCvH3bBS8LIuaHv7W8AmJu\/0Qe6Z3wU6snj47N%2B5sshO8\/%2Bv8I5Ywn7DK8\/4koS6kofcwQ7PBOaIPA2VrXD3iIWC20WZIsPVs%2BTOY2ZMODiL3zRRp3p9pz5Gqyq7kwodrLrZpG0xkExENwoIAPgC9WgGWi9aQfZwWAsZE4H1EZRKPI1XCjdWnbqY5Dnk6in9rl7IvlQuLpj9GXPSDI8%2B1ZViOfG876DtL7CrW%2BRt1BcN%2Bh377gNrGc7"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":0,"y":-59,"width":422,"height":410,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"38a072a9-60ec-4315-a69c-62d69ddba535","resizeWidth":282,"resizeHeight":269.30097,"overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":38,"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=\"font-weight: 700; color: #fff\">4. Interface Segregation Principle<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":204,"width":353,"height":135,"scale":100,"focalX":50,"focalY":50,"basedOn":"36f3d71a-b543-4841-870a-5b5d9e70d9bc","marginOffset":0.5799999999999983,"id":"066af134-c780-4b9f-9ae8-c584cd713119"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">It states that clients shouldn't be forced to rely on interfaces they don't use. It makes your code more readable and maintainable.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":380,"width":355,"height":106,"scale":100,"focalX":50,"focalY":50,"id":"b9117e99-88dd-4380-a445-e68f32ed1771","basedOn":"a8688468-7b9d-4b24-ab56-b87252eb88b8"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"dea52b7e-ed90-4591-bd8b-f924ef693ffb","id":"d73870f6-761a-4567-be7a-f43f8492cfb1"}],"animations":[{"id":"b1abfe77-7b2b-4754-b905-edfe99533920","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["066af134-c780-4b9f-9ae8-c584cd713119"]},{"id":"221d4185-3bf3-4e69-8c62-d3463098338d","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["b9117e99-88dd-4380-a445-e68f32ed1771"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"66b1ec3d-4a3c-4520-8104-d39762c8d618","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5640dfec-8fa7-4426-8b18-dc2255757615"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/SOLID-Principles-in-Java-2048x1000.png","needsProxy":false,"theme":"light"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"9d0462ec-b6da-4327-b30e-4118d0fcc415","basedOn":"cf63b70b-3688-4da8-a54c-421752a73811"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#f3f3f3","blurHash":"LWLDu;X,bJM|tQ_4M{R4-:x]E1xa","type":"image","mimeType":"image\/jpeg","creationDate":"2020-02-06T10:07:30Z","src":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=7736&h=5160&fit=max","width":7736,"height":5160,"id":"media\/unsplash:mvbtVeRVJzg","alt":"person holding black iphone 4","sizes":{"full":{"file":"media\/unsplash:mvbtVeRVJzg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=7736&h=5160&fit=max","mimeType":"image\/jpeg","width":7736,"height":5160},"large":{"file":"media\/unsplash:mvbtVeRVJzg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=6188&h=4127&fit=max","mimeType":"image\/jpeg","width":6188,"height":4127},"4641_3096":{"file":"media\/unsplash:mvbtVeRVJzg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=4641&h=3096&fit=max","mimeType":"image\/jpeg","width":4641,"height":3096},"3094_2064":{"file":"media\/unsplash:mvbtVeRVJzg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=3094&h=2064&fit=max","mimeType":"image\/jpeg","width":3094,"height":2064},"1547_1032":{"file":"media\/unsplash:mvbtVeRVJzg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=1547&h=1032&fit=max","mimeType":"image\/jpeg","width":1547,"height":1032},"web_stories_thumbnail":{"file":"media\/unsplash:mvbtVeRVJzg","sourceUrl":"https:\/\/images.unsplash.com\/photo-1580983561371-7f4b242d8ec0?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMHx8c29mdHdhcmUlMjBwcmluY2lwbGVzfGVufDB8fHx8MTY2NjA5MzAyMw&ixlib=rb-1.2.1&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"attribution":{"author":{"displayName":"ThisisEngineering RAEng","url":"https:\/\/unsplash.com\/@thisisengineering?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AQBR4to247gEBXIMni48zXr6Xwt2\/TPNqEx0iDjbjtOuAz1fKWytVkd7mHvMHkXW\/1EEwKU%2BXPKa9TY7Bc6z6%2ByrImn3KOmrEc1Swq6MyNrtl0Mnn19ebIuBsJR5\/uPU03J08oQhCs6yzKz4HcWY3KMB2npuEI%2BYdlyUyBRynFvSQ14jVup0KCEuZmcTlDTvy0E4TCMJWmuHjR%2B3zQ6OOyDhA961TAgG5TI5boTPCZXoa7OJ8kLqNAzLuIhtF1TIqPc2eCLR"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":0,"y":-58,"width":526,"height":402,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"e513e9ba-a7a5-40da-8a70-3d1631cd7ff1","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":38,"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=\"font-weight: 700; color: #fff\">5. Dependency Inversion Principle<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":235,"width":353,"height":89,"scale":100,"focalX":50,"focalY":50,"basedOn":"066af134-c780-4b9f-9ae8-c584cd713119","marginOffset":0.5799999999999983,"id":"60d7321a-3e39-47f6-ab1b-3622d7f84274"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":22,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"color: #fff\">It states that classes should rely on abstract classes\/interfaces rather than concrete types. &nbsp;Abstraction between high-level and low-level classes will allow us to decouple them.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":27,"y":380,"width":355,"height":158,"scale":100,"focalX":50,"focalY":50,"id":"e1c33ea9-9fc5-46f4-840b-52d2b4807e33","basedOn":"b9117e99-88dd-4380-a445-e68f32ed1771"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"d73870f6-761a-4567-be7a-f43f8492cfb1","id":"842104a4-22a0-41e9-a69c-363586e56b3b"}],"animations":[{"id":"75b9837c-4ad5-4475-a90e-903b36dd416d","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["60d7321a-3e39-47f6-ab1b-3622d7f84274"]},{"id":"397d9841-6df5-4b1d-9b11-cc76eb555a89","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["e1c33ea9-9fc5-46f4-840b-52d2b4807e33"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"b22db658-5618-4107-8da3-dbbfd41ad152","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"5640dfec-8fa7-4426-8b18-dc2255757615"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"theme":"light"}},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"baseColor":"#8c8c8c","blurHash":"LFE:0n~qof-;M{RjRjM_xuRjM{j[","type":"image","mimeType":"image\/jpeg","creationDate":"2020-01-24T16:14:41Z","src":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","width":4000,"height":6000,"id":"media\/unsplash:vSI8ASKyMJ8","alt":"black flat screen computer monitor on black wooden desk","sizes":{"full":{"file":"media\/unsplash:vSI8ASKyMJ8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:vSI8ASKyMJ8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:vSI8ASKyMJ8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:vSI8ASKyMJ8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:vSI8ASKyMJ8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:vSI8ASKyMJ8","sourceUrl":"https:\/\/images.unsplash.com\/photo-1579882392185-581038fbc8c5?ixid=MnwxMzcxOTN8MHwxfHNlYXJjaHwxMXx8c29mdHdhcmUlMjBlbmdpbmVlcnxlbnwwfHx8fDE2NjE4NTYxMTI&ixlib=rb-1.2.1&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"attribution":{"author":{"displayName":"Fernando Hernandez","url":"https:\/\/unsplash.com\/@_ferh97?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=ARX97wMs0cYfdalkie\/QDKmU7pb5r4js40h\/kCWFmnBbGNP8dy5abLUuzgRgeDKY0%2BrFrbNSgKXJNv8rbkC6%2BBK\/5beSar3lXBBaZ06IBziRk8ESH%2Bm9cBYh7IUGEdJiP46qzlKU\/aabEBmWrD9d4I5labPBmByWl5gNyBAqdt6fHe\/EZH32HffzoIqIBwSkVV4x4zp0MKOVjfnNS6XtZ9n\/rvctc5euOc1zHdiymERypiUu6YSM6uGvuXRi7zyt9KTA"},"isPlaceholder":false,"isOptimized":false,"isMuted":false,"isExternal":true,"needsProxy":false},"type":"image","x":-27,"y":-59,"width":498,"height":736,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"922911b1-2867-4cb1-a749-ffcc001a0654","basedOn":"4d638ebc-40aa-4f97-82e8-ffdd5e249ff7","overlay":{"color":{"r":0,"g":0,"b":0,"a":0.5}},"isBackground":true},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"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}},"fontSize":45,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"type":"text","content":"<span style=\"font-weight: 700; color: #fff\">Click here to view detailed implementation of the SOLID Principle in C#\u2026.<\/span>","borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"x":48,"y":217,"width":328,"height":322,"scale":100,"focalX":50,"focalY":50,"id":"831f5c41-a7b0-4ec3-b888-819f16ad589b","marginOffset":1.0406249999999986},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":0,"y":-30,"width":180,"height":60,"mask":{"type":"rectangle"},"type":"image","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},"basedOn":"dea52b7e-ed90-4591-bd8b-f924ef693ffb","id":"6aa5b86c-ef13-40ec-aa3c-d9cc2cebef1c"}],"animations":[{"id":"782b287a-c774-4f44-b63c-682a4b59021d","type":"effect-fly-in","flyInDir":"topToBottom","duration":600,"delay":0,"targets":["831f5c41-a7b0-4ec3-b888-819f16ad589b"]}],"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"type":"page","id":"a4b5aefe-1f07-4809-88e6-f52244139f33","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"f31fa453-d245-47a9-9546-09f7f57b4d22","basedOn":"4e0d375d-35a5-4309-8c42-eec90040af07"},"pageAttachment":{"url":"https:\/\/www.interviewbit.com\/blog\/solid-principles-in-c-sharp\/?utm_source=Ib&utm_medium=solid-principles-in-c-sharp&utm_campaign=webstories","icon":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/05\/Solid-Principles-in-C-2048x1000.png","needsProxy":false,"ctaText":"SWIPE UP","theme":"light"}}],"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":13593,"url":"https:\/\/www.interviewbit.com\/blog\/wp-content\/uploads\/2022\/10\/cropped-SOLID-Principles-C.png","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13591"}],"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\/13591\/revisions"}],"predecessor-version":[{"id":13856,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13591\/revisions\/13856"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media\/13593"}],"wp:attachment":[{"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/media?parent=13591"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=13591"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=13591"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.interviewbit.com\/blog\/wp-json\/web-stories\/v1\/web-story\/13591\/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}]}}