Welcome To Snipplr


Everyone's Recent Snippets Tagged c#



1 2 3 4 Next »
1 783 posted 13 years ago by samwa
Just the standard Yes/No MessageBox
0 454 posted 13 years ago by axs221
0 494 posted 13 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 1075 posted 13 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 741 posted 13 years ago by alishahnovin
1 495 posted 13 years ago by brandonroath
"Log in" to Salesforce via this code. Borrowed heavily from URL reference.
1 832 posted 13 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 2295 posted 13 years ago by dotNetkow
0 526 posted 13 years ago by cabrel
0 687 posted 13 years ago by cabrel
This is an extension method for splitting strings with a regular expression.
0 621 posted 13 years ago by gyurisc
isNumber string extension method for testing strings.
2 1125 posted 13 years ago by gyurisc
Enables to create a generic list with anonymous types. Very useful for me :).
1 572 posted 13 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 824 posted 13 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 1629 posted 13 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 595 posted 13 years ago by mark4asp
For those having trouble with encoding and decoding bencode, here is something to help you.
3 1393 posted 13 years ago by SuprDewd
1 2 3 4 Next »