Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts

Friday, July 8, 2011

How to escape the escape character in C#

string t = @"c:\";

http://stackoverflow.com/questions/1768023/how-to-use-in-a-string-without-making-it-an-escape-sequence-c

Monday, September 22, 2008

C#: DataTable row conversions.

double value = double.Parse(dr["value"].ToString());

This would parse a value in a datatable field as a double.