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?