Latest

random

C# Validate String Is Numeric

C# Check String for Numbers Only

This blog post demonstrates how to test if string is number (true/false) in C#. Find the code snippet below :-
c# is integer,c# check string for numbers only,c# check string is numeric only,c# test if string is number,c# test string for numeric value
c# check string for numbers only
C#
int n;
bool isNumeric = int.TryParse("02136", out n);

VB.Net
Dim n As Integer
Dim isNumeric As Boolean = Integer.TryParse("02136", n)

No comments:

All Rights Reserved by Etechpulse © 2015 - 2016
Powered By Blogger

Contact Form

Name

Email *

Message *

Powered by Blogger.