Language : csharp
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
Async Tasks in WP8 | asim1985 | C# | async | snippet demonstrating async tasks in WPF/C# .net |
June 8 |
|
OS Information using C# | PalCoder | C# | c# | this program view some of OS information try it you will not lose thing. |
June 7 |
|
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. |
June 7 | |
|
CodeBehind ChatHead | asim1985 | C# | chathead | Code behind my user control for Chathead |
June 5 |
|
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. |
May 23 | |
|
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. |
May 18 |
|
Convert Excel file (XLS) to CSV | engebaja | C# | csv | Convert Excel file (XLS) to CSV |
May 8 |
|
RADGrid item command shortcut | box86rowh | C# | telerik | Allows quick access to boilerplate code |
April 30 |
|
Is this Number Prime | jholderman | C# | number | Method to Check if an int is a Prime Number |
April 25 |
|
JsonpFormatter for MVC WebAPI | dmilligan | C# | MVC | A JSONP formatter for MVC 4 WebAPI. |
April 12 |
|
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. |
April 10 |
|
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) |
April 5 |
|
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. |
April 3 | |
|
Draw a border around the form | thomas-h | C# | form | Draw a border around the form. Add to the paint event handler. |
March 20 |
|
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 |
March 8 |

