Microsoft .NET 面试题与答案
Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test
问题 21. What is the default accessibility for members of a struct?
Private
这有帮助吗?
添加评论
查看评论
问题 22. Can the members of an interface be private?
No
这有帮助吗?
添加评论
查看评论
问题 23. Methods must declare a return type, what is the keyword used when nothing is returned from the method?
Void
这有帮助吗?
添加评论
查看评论
问题 24. Class methods to should be marked with what keyword?
Static.
这有帮助吗?
添加评论
查看评论
问题 25. A class can have many mains, how does this work?
Only one of them is run, that is the one marked (public) static, e.g:
public static void Main(string[] args)
{
//
// TODO: Add code to start application here
//
}
private void Main(string[] args, int i)
{
}
这有帮助吗?
添加评论
查看评论
用户评价最有帮助的内容:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?