Welcome To Snipplr


Everyone's Recent Snippets Tagged c#



1 2 3 4 Next »
1 147 posted 9 years ago by samwa
Just the standard Yes/No MessageBox
0 54 posted 9 years ago by axs221
0 92 posted 9 years ago by robasta
Not extensively tested, but seems to work in my sample project. uses the class I posted here: http://www.snipplr.com/view/46669/minimist-c-errorlogging-class/
1 175 posted 9 years ago by kyrathaba
The following extension method allows you to call Print() on any FrameworkElement, UIElement or group of elements, and print with a variety of settings such as landscape mode, shrink to fit, page centering, and more
0 118 posted 9 years ago by alishahnovin
1 87 posted 9 years ago by brandonroath
"Log in" to Salesforce via this code. Borrowed heavily from URL reference.
1 116 posted 9 years ago by dotNetkow
By default, enum values cannot have spaces in them (i.e. "Created Date" can only be "CreatedDate"). With this method, we can change that!
0 488 posted 9 years ago by dotNetkow
0 88 posted 9 years ago by cabrel
0 113 posted 9 years ago by cabrel
This is an extension method for splitting strings with a regular expression.
0 105 posted 9 years ago by gyurisc
isNumber string extension method for testing strings.
2 162 posted 9 years ago by gyurisc
Enables to create a generic list with anonymous types. Very useful for me :).
1 97 posted 9 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 144 posted 9 years ago by mecha
Hay dos maneras, la mejor es usar el script manager, tambien ver la diferencia entre http://forums.asp.net/t/902895.aspx
0 209 posted 9 years ago by ramirocalero
Why? So that your class can be used with collection classes. // basic class Every object has a GetHashCode() and Equals() method by default which it inherits from Object. Unfortunately these methods are useless as they stand because they say no...
1 91 posted 9 years ago by mark4asp
For those having trouble with encoding and decoding bencode, here is something to help you.
3 208 posted 10 years ago by SuprDewd
1 2 3 4 Next »