Browse by Tags
All Tags »
Quiz (RSS)
Question: Given your machine is in Pacific Time (PST) Time Zone, what is MainProgram.GetAnswer so that MainProgram.Test returns true? class MainProgram { static DateTime GetAnswer() { ???? } static bool Test() { DateTime a = MainProgram .GetAnswer();
Read More...
Without compiling and running this program. Can you tell me what the output would be? class MainProgram { static void Main( string [] args) { double a = Convert .ToDouble( "1.170404" ); double b = Convert .ToDouble( "2.170404" ); double c = Convert .ToDouble(
Read More...
Answer: It will assert. Why: Well, first of all... there is one big reason why the assert would fire. "t1" refers to something that has to do with the DerviedClass, and "t2" refers to something that has to do with the BaseClass. Good job Barry for noticing
Read More...
I once had a dev manager who loves puzzles and quizes. During our team meetings, he will write some code on the board and the team would have a competition to see who can spot the mistake first or who can answer a question about the code first. I always
Read More...