Welcome To Snipplr


Everyone's Recent Snippets Tagged c



This method can execute XML-RPC call and return response. Can be useful for working with XML-RPC API's like Snipplr.com XML-RPC API and other
4 2486 posted 15 years ago by dzr_gregory
A base class for very simple value converters in WPF, Windows Phone 7 and Silverlight.
1 1552 posted 15 years ago by jacob4u2
Add this code to your App.xaml.cs inside your App class to enable a static property that will give you the current theme at runtime.
0 1543 posted 15 years ago by jacob4u2
1 1961 posted 15 years ago by jermeyz
2 2007 posted 15 years ago by cabrel
0 1148 posted 15 years ago by cabrel
0 1048 posted 15 years ago by yoyoparis
0 1233 posted 15 years ago by oznek
0 1586 posted 15 years ago by oznek
Enables to convert types using generics. Simple and clean.
2 1700 posted 15 years ago by wallybh
Class to shorten text. For example for an article where people can click read more to read the whole article.
1 1473 posted 15 years ago by Fogh
0 1515 posted 15 years ago by khajavi
1 3726 posted 15 years ago by gilbitron
2 1630 posted 15 years ago by jiewmeng
1 1767 posted 15 years ago by jmcd
1 1588 posted 15 years ago by emmanuelbuah
i want to use it later
0 1161 posted 15 years ago by iLLUMIN
1 3902 posted 15 years ago by acosonic
Well, there is many faulty C# timestamp handling codes. Here is a proper one, use UtcNow instead Now if you need UTC timestamp...
1 1707 posted 15 years ago by acosonic
1 1634 posted 15 years ago by mpcircuitry
3 3299 posted 15 years ago by ax4413
0 1595 posted 15 years ago by mracoker
This is a simple Linq query against a list of Star Wars characters.
1 1319 posted 15 years ago by stewshack
Un objeto QMenu tiene siempre un objeto QAction, aunque no lo hayas creado tú. Por esta razón si queremos ocultar un QMenu vacío no nos sirve llamar al método setHidden (o a setVisible) como normalmente harías.
0 1147 posted 15 years ago by Bloomy
.net 2.0+ Generic classes make code size much smaller and casting objects (boxing) a cinch. However, currently there are some unsupported IDE options when trying to cast objects to and from generic objects that use mixed object types (inherited from...
0 1724 posted 15 years ago by bryanlyman
You can get all countries list by this method. Also you can find some details for countries like; - original name, - three letter ISO region name, - three letter WINDOWS region name, - currency symbol etc..
1 1808 posted 16 years ago by emregulcan