|
|
Browse by Tags
All Tags » .NET » C# 2.0
-
Copy a stack trace to your clipboard, open the resharper stack trace explorer, and hit Ctrl+E, T. Once you’ve done this the lines reported in the stack trace become hyperlinks to the files in your project.
-
Recently I discovered that the reset window layout menu option in most flavours of visual studio (at least 2008 and 2010), respects the layout that your workspace was in at the time of exporting your environment settings.
This is down to the fact that under the general settings tree view node in the export dialog, the Window Layouts option is ...
-
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.IO;
namespace DataSetSerializer
{
class Program
{
static void Main(string[] args)
...
-
See this article here...
http://kashfarooq.wordpress.com/2008/11/29/mocking-wcf-services-with-rhinomocks/
-
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /DesignMode /u /ShowCallStack /Configuration="C:\Data\Merrick\Projects\Data Access Guidance Package\Data Access Guidance Package\Data Access Guidance Package\bin\Debug\\Data Access Guidance Package.xml" "C:\Data\Merrick\Projects\Data Access Guidance Package\Data Access ...
-
A colleague of mine recently asked for how to create a one liner to iterate over the items in a list. In C# 2.0 this is best done using the System.Action<T> delegate ForEach method, as it reduces the lines of code that you would normally write.
Easy way to think of it, is to write the foreach loop in the normal way, then change the foreach ...
-
Check out the flex wiki site below. Has C# code examples for most if not all of the Windows API. Really useful for Windows programming.
www.pinvoke.net
|
|
|