Posts tagged as:

Search

What is an Overloaded Method?

by Dave on September 2, 2009

in Tutorials

Sometimes when programming, you might want to create a number of methods which internally have similar logic but accept different parameters. For example, an addition method called AddNumbers which, erm… adds numbers together, might accept two parameters of type int. But what if you want to add long values, or double values? You could create [...]

{ 0 comments }

A regular expression, or regex in short, is a string of text which represents a search pattern. They are usually used either to search through text and find strings which match the given pattern, or to validate a string against the search pattern. Regular expressions are extremely powerful but they can prove quite difficult to [...]

{ 0 comments }

Listing files from directories and sub-directories is a common requirement for many developers. In this short tutorial I will show you how to do this in two different ways. The Directory.GetFiles() Method This first method is by far the easier of the two, but to implement this you must be working with Microsoft .NET Framework [...]

{ 0 comments }