Tips n Tracks

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Reference

Sample image

Microsoft .NET Framework Get Details.

Sample image

Microsoft .NET Framework Get Details.

Reference

Sample image Microsoft .NET Framework Get Details.
Sample image

Microsoft .NET Framework Get Details.


Archive for May, 2009

List All System Drives using C#.NET


List All System Drives using C#.NET

This tip will explain how to get the computer’s logical drives from the local system. The code will work on flavors of C#.net. First of Create new C#.Net Console Application, you can do same by pressing Ctrl+Shift+N

Create new projet

Now replace you Program.cs file content with following…


Read the rest of this entry »

Finding Four and(or) Six letter words using regular expressions


Finding Four and(or) Six letter words using regular expressions

In this regular expression we are going to find out All Four to Six letter words. A word is a unit (member) of language that represents a concept which can be expressively communicated with meaning. A word consists of one or more morphemes which are linked more or less tightly together, and has a phonetic value. Get more information about Finding Words using regular expressions.

Regular Expression Pattern

(?<=(?:\s|\G|\A))(\w{4}|\w{6})(?=(?:\s|\Z|\.|\?|\!))



Read the rest of this entry »

Finding Four to Six letter words using regular expressions


Finding Four to Six letter words using regular expressions

In this regular expression we are going to find out All Four to Six letter words. A word is a unit (member) of language that represents a concept which can be expressively communicated with meaning. A word consists of one or more morphemes which are linked more or less tightly together, and has a phonetic value. Get more information about Finding Words using regular expressions.

Regular Expression Pattern

(?< =(?:\s|\G|\A))\w{4,6}(?=(?:\s|\Z|\.|\?|\!))


Read the rest of this entry »

Finding Words using regular expressions


In this regular expression we are going to find out All Words. A word is a unit (member) of language that represents a concept which can be expressively communicated with meaning. A word consists of one or more morphemes which are linked more or less tightly together, and has a phonetic value.

Regular Expression Pattern

^\b\w+\b$

A description of the regular expression:

First or last character in a word
Alphanumeric, one or more repetitions
First or last character in a word

How It Works

This regular expression will check First or last character in a word. An Alphanumeric, one or more repetitions and First or last character in a word.


Read the rest of this entry »