Browse by Tags
All Tags »
Ideas (
RSS)
First of all, if you've come here looking for how to activate connection pooling when using SSAS 2005 via ADOMD.NET, you're in for a little surprise - there is none by design . Loading a new connection can take up a long time, since with every new session...
I'd love to see this become a reality in the next version of Visual Studio:
The Basic Need Take the following code: public abstract class Base { protected Base( int something) { // ... } } public class Derived : Base { public Derived( int something) : base (something) { // ... } } public class Derived2 : Base { public Derived2...
I just finished a short conversation with Aaron Randall from London who used the little Windows Live Messenger Flash application in my sidebar (oh, how I love thee, Internets) to ask me a question he had about linked lists after reading one of my posts...
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...
Came up with a nice idea while driving today about versioning enums. Say you have an application that saves files. Every file has a font specific to it and it is saved as the following enum (v1.0): public enum Font { Tahoma, Arial, } When v1.1 comes out...
I've had my fair share of disappointments when I found that the closest common denominator between types I wanted to use was object , leading me to write code in a level I did not like, like: class A; // A and B are both imported classes with no class...
The example of anonymous types from the C# 3.0 specification document is as follows: class __Anonymous1 { private T1 f1 ; private T2 f2 ; // … private Tn fn ; public T1 p1 { get { return f1 ; } set { f1 = value ; } } public T2 p2 { get { return f2 ; ...
Remember the game Connect the Dots we used to play as kids? It was fun and easy and you could color the pretty bunny after you were done. This gave me an idea - a computer program doesn't know how to play Connect the Dots very well unless it's programmed...
After reading Bill Wagner's excellent introduction to Linq , I really liked what I saw and decided that I wanted to create an extension method as an exercise. I sat and thought what I would have wanted from Linq and decided I wanted to write a method...
More Posts
Next page »