Welcome To Snipplr


Everyone's Recent Snippets Tagged c#



1 2 3 4 Next »
1 117 posted 9 years ago by samwa
Just the standard Yes/No MessageBox
0 42 posted 9 years ago by axs221
0 78 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 139 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 103 posted 9 years ago by alishahnovin
1 73 posted 9 years ago by brandonroath
"Log in" to Salesforce via this code. Borrowed heavily from URL reference.
1 87 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 454 posted 9 years ago by dotNetkow
0 74 posted 9 years ago by cabrel
0 92 posted 9 years ago by cabrel
This is an extension method for splitting strings with a regular expression.
0 76 posted 9 years ago by gyurisc
isNumber string extension method for testing strings.
2 127 posted 9 years ago by gyurisc
Enables to create a generic list with anonymous types. Very useful for me :).
1 70 posted 9 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 121 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 177 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 69 posted 9 years ago by mark4asp
For those having trouble with encoding and decoding bencode, here is something to help you.
3 173 posted 9 years ago by SuprDewd
1 2 3 4 Next »