In the following code, how would you refer to the name great from code in the namespace fabulous?
namespace fabulous { // code in fabulous namespace } namespace super { namespace smashing { // great name defined } }
Which of the following is not a legal variable name?
myVariableIsGood
99Flake
_floor
time2GetJiggyWidIt
wrox.com
Is the string "supercalifragilisticexpialidocious" too big to fit in a string variable? Why?
By considering operator precedence, list the steps involved in the computation of the following expression:
resultVar += var1 * var2 + var3 % var4 / var5;
Write a console application that obtains four int values from the user and displays the product. Hint: you may recall that the Convert.ToDouble() command was used to covert the input from the console to a double; the equivalent command to convert from a string to an int is Convert.ToInt32().