Simple is hard. --Steve Lautenschlager
Log In
Providing Microsoft .NET Articles and Code Samples since 2002
Home
→
Categories
→
language elements - conversions
Home
Search
Articles
Categories
About
Welcome to my blog and project site for Microsoft.NET development.
I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ...
more
Share/Print this page:
Category: Conversions
language elements
conversions
[Articles: 7]
Sort:
Most Recent
Updated
Author
Pages
Views Today
Total Views
Convert String to Int in C#
By
steve
on
November 05, 2011
. | Updated on
January 22, 2012
. |
418
views,
1
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
Data Types
■
Snippet
■
Text and Strings
Three different ways to convert a string to an integer in C# and the pros and cons of each.
How do I get the application path in an ASP.NET application?
By
steve
on
February 13, 2007
. | Updated on
January 22, 2012
. |
88,204
views,
87
today. |
1
page.
■
ASP.NET
■
Conversions
■
Snippet
A simple snippet to show you how to get the virtual application path which is relative to the root of the website.
Extract Hex Digits From a String
By
steve
on
January 09, 2007
. | Updated on
January 22, 2012
. |
10,021
views,
5
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
Regular Expressions
■
Snippet
■
Text and Strings
Learn how to extract hex digits from a string using C#. Useful for cases where you have dirty hex information or extra characters.
Convert Integer To Enum Instance in C#
By
steve
on
January 09, 2007
. | Updated on
January 01, 2012
. |
223,944
views,
103
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
Enums
■
Snippet
Sample C# code showing how to convert an integer to an instance of an enumeration.
Convert String to Enum Instance
By
steve
on
January 09, 2007
. | Updated on
January 15, 2012
. |
186,700
views,
237
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
Enums
■
Snippet
■
Text and Strings
C# code sample showing how to convert a string to an instance of an enumeration.
Convert Hex String to .NET Color
By
steve
on
January 09, 2007
. | Updated on
January 22, 2012
. |
95,701
views,
110
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
CSS
■
HTML
■
Snippet
Learn an easy way and a hard way to convert a hex string to a .NET color using C#.
Convert .NET Color to Hex String
By
steve
on
January 09, 2007
. | Updated on
January 22, 2012
. |
41,616
views,
50
today. |
1
page.
■
.NET
■
C#
■
Conversions
■
CSS
■
HTML
■
Snippet
Learn how to convert a hex string to a .NET color using C#.