Language : csharp
|Async Tasks in WP8||asim1985||C#||async||
snippet demonstrating async tasks in WPF/C# .net
|OS Information using C#||PalCoder||C#||c#||
this program view some of OS information try it you will not lose thing.
|Getting access to an html tag from the aspx.cs file||heathbo||C#||
by adding the runat="server" text to the p tag, we allow the .cs file to have access to it.
Code behind my user control for Chathead
|Basic Search Query in C#||smiklakhani||C#||
Test 0: OK! Test 1: OK! Test 2: OK! Test 3: Error: your code didn't finish in less than 2 seconds. Test 4: Error: your code didn't finish in less than 2 seconds. Test 5: Error: your code didn't finish in less than 2 seconds.
|Check if a file is an executable.||jprochazka||C#||validation||
A function to check the first two bytes to see if they match "MZ" marking it as an executable.
|Convert Excel file (XLS) to CSV||engebaja||C#||csv||
Convert Excel file (XLS) to CSV
|RADGrid item command shortcut||box86rowh||C#||telerik||
Allows quick access to boilerplate code
|Is this Number Prime||jholderman||C#||number||
Method to Check if an int is a Prime Number
|JsonpFormatter for MVC WebAPI||dmilligan||C#||MVC||
A JSONP formatter for MVC 4 WebAPI.
|Lambda Expression To Select a distinct set of objects||kwhite1975||C#||lambda||
This line of code allows you to group a set of objects by a field and then get the first item in that group. This allows you to do a distinct by a specific property.
|How to mock an inline table valued function in LINQ to SQL||kirstencris||C#||mock||
This example is for an inline table value function with one string parameter t1 is of type YourDataContext and t2 is of type string(hence the name of the mole method)
|Create Comma Separated List||kwhite1975||C#||
This simple code creates a comma separated list. The beauty of this code is that most times you have to check for the last item and do something different or cut off the last character to make the list work well. This does all of that in a single line.
|Draw a border around the form||thomas-h||C#||form||
Draw a border around the form. Add to the paint event handler.
|XMLNodeList to HTML Table based on Ektron Smartform data||dego89||C#||list||
Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table