---
title: "Can you inherit private members of a class?"  
description: "Can you inherit private members of a class?"  
author: "Sumit Kesarwani"  
published: 2014-09-04  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/2133/can-you-inherit-private-members-of-a-class  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Can you inherit private members of a class?

No, you cannot inherit private members of a class because private members are accessible only to that class and not outside that class.

## Answers

### Answer by Sumit Kesarwani

No, you cannot inherit private members of a class because private members are accessible only to that class and not outside that class.


---

Original Source: https://www.mindstick.com/interview/2133/can-you-inherit-private-members-of-a-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
