Friday programming quiz
-
SomeValue
Partial credit.
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
:confused: Is this a joke?
Regards, Nish
Are you addicted to CP? If so, check this out: The Code Project Forum Analyzer : Find out how much of a life you don't have! My technology blog: voidnish.wordpress.com
-
SomeValue
The OP's quite possibly joking here! It's almost Apr 1st. So maybe something to do with that!
Regards, Nish
Are you addicted to CP? If so, check this out: The Code Project Forum Analyzer : Find out how much of a life you don't have! My technology blog: voidnish.wordpress.com
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
42. :| Probably a joke. >.My Blog *cough* My Achievements: *cough* * Posted 25,000th message in GIT O_O * Official supporter of the "thatraja's GIT Meet Sponsor Foundation" :D What you do, when you don't know what to do is what you do when you don't want to do what you do.
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
-
The OP's quite possibly joking here! It's almost Apr 1st. So maybe something to do with that!
Regards, Nish
Are you addicted to CP? If so, check this out: The Code Project Forum Analyzer : Find out how much of a life you don't have! My technology blog: voidnish.wordpress.com
-
42. :| Probably a joke. >.My Blog *cough* My Achievements: *cough* * Posted 25,000th message in GIT O_O * Official supporter of the "thatraja's GIT Meet Sponsor Foundation" :D What you do, when you don't know what to do is what you do when you don't want to do what you do.
Partial credit.
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
-
Depends on the programming language.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
Ding! Ding! Ding!
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
Answer to the Ultimate Question of Life, the Universe, and Everything. -Saurabh
-
:confused: Is this a joke?
Regards, Nish
Are you addicted to CP? If so, check this out: The Code Project Forum Analyzer : Find out how much of a life you don't have! My technology blog: voidnish.wordpress.com
No
-
Answer to the Ultimate Question of Life, the Universe, and Everything. -Saurabh
Partial credit plus bonus points.
-
Ding! Ding! Ding!
No - that's what you get when you execute
Write chr$(7), chr$(7), chr$(7)
on a teletype machine.MVVM# - See how I did MVVM my way ___________________________________________ .\\axxx (That's an 'M')
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
Nothing. The target printer will inexplicably turn into a potted petunia embedded in a whale falling from orbit into a planet it has never seen before. Then your phone will ring, and I'll invite you to lunch at a most improbable restaurant.
Will Rogers never met me.
-
Nothing. The target printer will inexplicably turn into a potted petunia embedded in a whale falling from orbit into a planet it has never seen before. Then your phone will ring, and I'll invite you to lunch at a most improbable restaurant.
Will Rogers never met me.
This must be Thursday.
-
This must be Thursday.
Hmmmm... [checks clock] Yup, still Thursday for another hour and 40 minutes. After midnite, everything could change.
Will Rogers never met me.
-
Given an enum (e.g.
MyEnum
) with a member (e.g.SomeValue = 42
), what do you get when you execute:System.Console.WriteLine ( MyEnum.SomeValue )
You've just put the meaning of universe, life and everything else in a single enum! Now... where do we have that Nobel Prize? :rolleyes:
[www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.