Welcome To Snipplr
Everyone's Recent C# Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I have not tested it yet but the author claims to make your printer show some random messages.
0
802
posted 16 years ago by planetcall
This is a code example which demonstrates how to send Email with attachment using your GMAIL Account.
6
1298
posted 16 years ago by planetcall
In Ruby you can write 5.times { print "Hello World" } . With a simple extension method I was able to do something similar with C#.
0
612
posted 16 years ago by Soft
C#
ASP.Net Code to Get an Active Directory User Name from the Integrated Authentication Principal Name
Typically won't work if the ASP.Net service identity (in the machine.config ProcessModel section) is a local account.
1
1381
posted 16 years ago by rengber
There may be a simpler way to do this but this is the only way I could find to solve this problem. There is no Add method for basic arrays.
2
973
posted 16 years ago by ecavazos
Everything is either true or untrue, or both true and untrue, or neither true nor untrue - nagarguna
2
1097
posted 16 years ago by zvasanth
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0
2796
posted 16 years ago by zvasanth
You could eliminate the ListDictionary if you created a simple method to map C# types to DbTypes. Although this method also lets you skip over some object properties my using the ListDictionary to contain a subset of properties. It could also be us...
0
974
posted 17 years ago by rengber