You know how in the IDE when you type . you get member information about the object.
OK, so I challenge you to do the same for the generation of Number. We'll stick to just Integer ones for now.
Via The Digits (Easy-Intermediate)
Dim MyNumber1 = Number.One.Two.Three.Four ' Will return an Integer with the value 1234 ' Dim MyNumber2 = Number.One.Negative.Two ' Should be an error, because Sign information (whether the number positive or negative must be first.) Dim MyNumber3 = Number.Negative.One. ' = -1 '
Via The Wording (Intermediate+)
The second challenge is to extend this so you can "Dot Input" Numbers as they said.
Dim MyNumber = Number.One.Million.Two.Hundred.And.Four.Thousand.Nine.Hundred.And.Seventy.Two ' Will return an Integer with the value 1204972'
These should give your brains a work out.
This post has been edited by AdamSpeight2008: 29 April 2012 - 05:03 PM