Microsoft .NET Interviewfragen und Antworten
Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test
Frage 21. What is the default accessibility for members of a struct?
Private
Ist das hilfreich?
Kommentar hinzufugen
Kommentare ansehen
Frage 22. Can the members of an interface be private?
No
Ist das hilfreich?
Kommentar hinzufugen
Kommentare ansehen
Frage 23. Methods must declare a return type, what is the keyword used when nothing is returned from the method?
Void
Ist das hilfreich?
Kommentar hinzufugen
Kommentare ansehen
Frage 24. Class methods to should be marked with what keyword?
Static.
Ist das hilfreich?
Kommentar hinzufugen
Kommentare ansehen
Frage 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)
{
}
Ist das hilfreich?
Kommentar hinzufugen
Kommentare ansehen
Am hilfreichsten laut Nutzern:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?