Updated: 10 August 2017, 00:50:12.

FontStyle is an enumeration you can Or them together to add or Xor to remove.

i.e.

to add underlining to existing style:

textBox1.Font = new Font(textBox1.Font, textBox1.Font.Style | FontStyle.Underline);

Continue Reading ...

 

I have found this method very useful for validating IP4 address. Pass in any IP address as parameter while calling this method will return you true on success and false on failure.

Continue Reading ...

 

Recent Works