C#中用于以下内容的默认修饰符是什么? [英] What are the default modifier in C# for the following things?

查看:72
本文介绍了C#中用于以下内容的默认修饰符是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#中用于以下内容的默认修饰符是什么?

1.分类:
2.接口:
3.命名空间:
4.结构:
5.方法:
6.字段:
7.属性:

在此先感谢
Rashed

What are the default modifier in C# for the following things?

1.Class:
2.Interface:
3.Namespace:
4.Struct:
5.Method:
6.Fields:
7.Properties:

Thanks in advance
Rashed

推荐答案

Rashed,

它全部在这里:访问修饰符(C#编程指南) [
最好的问候,
Manfred
Hi Rashed,

it''s all here: Access Modifiers (C# Programming Guide)[^]

There are several sections where you find the default modifier for each. The reading of this document should be fairly easy especially if you type "default" into the search field of your browser and keep on clicking on next.

Best Regards,
Manfred


尝试默认修饰符 [

这篇关于C#中用于以下内容的默认修饰符是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆