Numeric Check & number validation by c#

        public static bool IsNumeric(string value)
        {
            try
            {
                decimal credit = decimal.Parse(value);
            }
            catch
            {
                return false;
            }
            return true;
        }

Comments

Popular posts from this blog

C# - Strong Password Regular Expression

Provision AWS EC2 Instance and RDS with Terraform, and Deploy Spring Boot App to EC2 Instance via GitHub Action Pipeline

Microsoft Access Connectivity from C#