Click here to Skip to main content
15,922,533 members

Videos


Page 2 of 4
1 2 3 4


.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
21. How to Toggle String Case in .NET
A whole lot less code and a lot easier to do.public static string ToggleCase(this string str){ if (string.IsNullOrEmpty(str)) return str; return string.Join("", (from i in str select (char.IsLetter(i) ? ...
Daniel Gidman Updated: 8 Dec 2011
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
22. Passing Enum type as a parameter
I think the compile time force for a little enum enforcement would look something like this... (excuse the bad syntax, doing it from memory)private T GetPreviousEnum(this T currentlySelectedEnum) where T: structStackOverflow has a good question and answer in relation to it here.[^].
Daniel Gidman Updated: 24 Aug 2011
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
23. Remove blue border when image is inside the hyperlink
Use of a CSS reset stylesheet is recommended more than something like this one off. Normalize the CSS across browsers. In general, it is better to add borders as the exception than it is to remove them from elements. There are many good CSS reset stylesheets and some like from the YUI Library...
Web Development » CSS3 »
Daniel Gidman Updated: 21 Aug 2011
Rating: 5.00/5 ( (2 votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
24. Get rid of XmlInclude when using XmlSerializer
Serializable Extra Types for .NET 4[^]Does what you are looking for using attributes.
Daniel Gidman Updated: 1 Aug 2011
Rating: 5.00/5 ( (1 vote))

Page 2 of 4
1 2 3 4