Welcome To Snipplr


Everyone's Recent Snippets Tagged c#



1 2 3 4 Next »
1 971 posted 13 years ago by samwa
Just the standard Yes/No MessageBox
0 569 posted 13 years ago by axs221
0 613 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 1314 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 939 posted 13 years ago by alishahnovin
1 640 posted 13 years ago by brandonroath
"Log in" to Salesforce via this code. Borrowed heavily from URL reference.
1 1017 posted 14 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 2544 posted 14 years ago by dotNetkow
0 689 posted 14 years ago by cabrel
0 885 posted 14 years ago by cabrel
This is an extension method for splitting strings with a regular expression.
0 794 posted 14 years ago by gyurisc
isNumber string extension method for testing strings.
2 1327 posted 14 years ago by gyurisc
Enables to create a generic list with anonymous types. Very useful for me :).
1 741 posted 14 years ago by wallybh
You should include these Cookie helpers in your base page class. Enjoy!
1 1010 posted 14 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 1886 posted 14 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 771 posted 14 years ago by mark4asp
For those having trouble with encoding and decoding bencode, here is something to help you.
3 1776 posted 14 years ago by SuprDewd
1 2 3 4 Next »