C#

Currently Browsing Category 'C#'

Regular Expressions in C#

by Joseph on Jul 18th in C#, Regular expressions

I needed to validate a form for numeric and integer fields. The C-Sharp Corner seems to cover Regular Expressions pretty well in this article. Essentially, I created a new class named RegularExpressions and added the following: using System.Text.RegularExpressions; // Function to test for Positive Integers.public bool IsNaturalNumber(String strNumber){Regex objNotNaturalPattern=new Regex(“[^0-9]”);Regex objNaturalPattern=new Regex(“0*[1-9][0-9]*”);return !objNotNaturalPattern.IsMatch(strNumber) &&objNaturalPattern.IsMatch(strNumber);}// Function […]

SnippDogg

by Joseph on Jun 27th in C#, SnippDogg, Snippets, tools, utilities, Visual Studio 2008

So I’ve started using SnippDogg to manage my Visual Studio 2008 code snippets. Very cool functionality, fairly easy to use. My one problem is that the installation was a little strange and failed to load the required help files. However, it had a fairly quick learning curve, so no biggie.Check it out! Snipp Dogg Website

Post, the Not Second!

by Joseph on Jun 27th in C#, First Post, Gaming, Intent Driven Designs, Programming

Over the next few days and weeks, I will begin a new blogging venture which will chronicle the discoveries made and challenges faced (and usually overcome) here at Intent Driven Designs, LLC. As a student at Capella University, and a relative newbie when it comes to “Code-Slinging”, I have found that the blog-o-sphere has been […]

Powered By Wordpress Designed By Ridgey