Browse by Tags
All Tags »
Questions (
RSS)
public static void Do<T>( this TBase value) where T : BaseClass <TBase> The above line of code does not compile. I've been mulling over this for about half an hour and have not come up with a single logical reason why it shouldn't, strong...
Brainstorming an undo-redo mechanism at work today and here are a couple of thoughts: There are so many mechanisms that already exist. A quick google on CodeProject gives five right away (without extra digging). NIH is foolish. :) Undo actions are transactions...
While watching the MSDN Nugget on Application Settings in Visual Studio 2005 , I found a couple of things I found weird about the default application settings provider, LocalFileSettingsProvider : When saving to Application Data\<Application>\<Assembly>...
I've been looking into a way of having an operation time out using .net 1.1. I want the operation to be 'decorated' with the timeout code, so that it would appear to be a simple method without too much fuss. What I came up with (having little experience...
I've been thinking today - there ought to be a Wiki that lists controls, either for WinForms, ASP.NET and/or GTK#. It's pretty annoying to have to create a new control just because you can't find one and then, a couple of months later, finding it... Does...
Several days ago, I tried using Find/FindRows to find a row in a DataView. Checking MSDN, I found that these methods requested an object that is the key to use. I used the DataTable's key, but the row was not found even though it was in the DataView....
Hey everyone. It's been six months since I last posted anything and I feel like I owe you guys a little explanation. I've been assigned to a project written in VB6 (ecch) for the past ten months and between that and college, didn't find much time to go...
I sent Junfeng the following question: "I was wondering why the assemblies in the service packs released by Microsoft for the 1.x versions of the runtime have the same version numbers as do the unpatched assemblies. Why were publisher policy assemblies...
I'll start this post with an example: public class MyClass { private int m_HeldInteger = 0; public MyClass() { } public static implicit operator int (MyClass myClass) { return myClass.m_HeldInteger; } public static void Main( string [] args) { MyClass...
I use the Windows Messenger, as well as I do ICQ, for my instant messaging needs (if you want my contact, drop me a line). Playing with some anonymous methods in C# Express on my laptop, I used the good old full screen mode, since my screen can only get...
More Posts
Next page »