This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Program{ static void Main() | |
| { | |
| // Use long suffix. | |
| long l1 = 10000L; | |
| // Use double suffix. | |
| double d1 = 123.764D; | |
| // Use float suffix. | |
| float f1 = 100.50F; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Checks to see if the input only contains Numbers | |
| /// </summary> | |
| /// <param name="anyString" />Input In</param> | |
| /// <returns>True/False</returns> | |
| public static bool IsNumeric(string anyString) | |
| { | |
| if (String.IsNullOrEmpty(anyString)) | |
| { | |
| anyString = ""; |