Computer Architecture > QUESTIONS & ANSWERS > 98-361 MTA Software Development Fundamentals(QUESTIONS & ANSWERS) (All)
What is the Main method? - ✔✔It serves as the entry point to a program. When runtime executes a program, it always starts at the Main method. What does the Switch statement do? - ✔✔It works ... like CASE, and allows for different options to run different code, which uncomplicates having to combine several if statements. Name the 4 C# control structures. - ✔✔while loop, do-while loop, for loop and foreach loop When does the do-while loop test the condition? - ✔✔At the bottom of the loop. What is the foreach loop useful for? - ✔✔Iterating through elements of a collection or array. What is recursion? - ✔✔A programming technique that causes a method to call itself in order to compute a result. How to you use a try-catch block? - ✔✔Put the code that could throw an exception in the try section, and place the code that catches exceptions in the catch section. What is the finally block used for? - ✔✔It is always executed regardless of whether an exception has been thrown, so you can put clean up code here such as disconnections. What is a Class? - ✔✔The template from which individual objects are created. What is a delegate? - ✔✔- Special type that is used to encapsulate a method with a specific signature. - Holds the method(s) reference in an object. - Referred to as a type safe function pointer. Properties are often referred to as "_____" fields because they can include code for checking data consistency or validity. - ✔✔Smart A property has two _________ - ✔✔Accessors, GET and SET Properties are often assigned with a ______ access modifier - ✔✔Public [Show More]
Last updated: 1 year ago
Preview 1 out of 4 pages
Instant download
Buy this document to get the full access instantly
Instant Download Access after purchase
Add to cartInstant download
Connected school, study & course
About the document
Uploaded On
Aug 27, 2022
Number of pages
4
Written in
This document has been written for:
Uploaded
Aug 27, 2022
Downloads
0
Views
53
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·