double population = 7000000000;
long population2 = 7000000000;
I have to write down world population, so i used both double and long primitive types. However, both of them says that this number is out of range. What can i do with this? i made a google search but it says that long primitive type is supposed to be accepted. Can anybody please help me ?
An integer literal is of type long if it ends with the letter L or l; otherwise it is of type int. It is recommended that you use the upper case letter L because the lower case letter l is hard to distinguish from the digit 1.
you used int, you need to add a 'L' at the end of the number 'l' is ok but it also looks like '1' so use 'L' for lond and 'D' for double. again 'd' works fine, it may not look like any number try to be consistant with you case.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...