---
title: "Can you specify the accessibility modifier for methods inside the interface?"  
description: "Can you specify the accessibility modifier for methods inside the interface?"  
author: "Sumit Kesarwani"  
published: 2014-08-27  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/2052/can-you-specify-the-accessibility-modifier-for-methods-inside-the-interface  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Can you specify the accessibility modifier for methods inside the interface?

All the methods inside an interface are always public, by default. You cannot specify any other access modifier for them.

## Answers

### Answer by Sumit Kesarwani

All the methods inside an interface are always public, by default. You cannot specify any other access modifier for them.


---

Original Source: https://www.mindstick.com/interview/2052/can-you-specify-the-accessibility-modifier-for-methods-inside-the-interface

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
