|
Advertisement
|
Forum posts by Eric Gunnerson:Posted in .NET Buzz Forum, Mar 12, 2004, 4:23 PM
Michael asks, Why do delegate arguments have to match exactly, when creating a delegate using Delegate.CreateDelegate? Example: delegate void SpecialEventHandler(object sender, SpecialEventArgs e); Handler function: void SpecialMethod(object sender, EventArgs e) { } Now the following Delegate.CreateDelegate(typeof(SpecialEventHandler), o,...
Posted in .NET Buzz Forum, Mar 12, 2004, 9:40 AM
Derek said that I should write about the virtues of OneNote, which is, in his words, “one sweet app...” I've been using it off and on, and while I think it's a nice too, it has a few drawbacks for the kind of notes I do. For the C# language design notes, for example, we've been using Word for a long time, and it lets me do everything I...
Posted in .NET Buzz Forum, Mar 12, 2004, 7:39 AM
I've decided that rather than put FAQ answers here, I'm going to put them on the C# FAQ instead. That will allow us to keep all the good answers together in one place. I haven't been linking to them from here, but I could if people would find that useful. If you would, indicate so in the comments.
Posted in .NET Buzz Forum, Mar 12, 2004, 5:39 AM
Bruce has an interesting discussion entitled “Generics Aren't”. It's primarily about the new support for generics in Java, but it has a lot of “generic generic” material as well.
Posted in .NET Buzz Forum, Mar 10, 2004, 6:10 AM
Min provides a new link to his excellent document on debugging the debugger.
Posted in .NET Buzz Forum, Mar 7, 2004, 10:07 PM
A post in the new C# FAQ Blog. The items will be showing up on the C# dev center in the near future.
Posted in .NET Buzz Forum, Mar 3, 2004, 3:33 AM
My most recent column went live on MSDN today. It discusses different methods of dynamic execution of code. Executive summary: Avoid Type.InvokeMember() if you can.
Posted in .NET Buzz Forum, Mar 2, 2004, 2:28 AM
(question from a customer) If you use 'ref' or 'out' on a method parameter: class Test{ public void Process(ref int t) { ... }} when you call it you need to specify 'ref': Test t = new Test();int val = 5;t.Process(ref val); We require you to...
Posted in .NET Buzz Forum, Mar 1, 2004, 7:23 AM
Grant has some questions on them
Posted in .NET Buzz Forum, Feb 27, 2004, 6:49 PM
I was web browsing this morning, and I clicked on a video link on a website, and IE popped up a little dialog that said. You have clicked on a video link. Internet Explorer can play this in a separate window, which will allow you to keep browsing the web while the link plays. Do you want to play this video in Internet Explorer? Yes/No/Cancel I...
Posted in .NET Buzz Forum, Feb 26, 2004, 6:17 PM
If you value your productivity. http://halo.bungie.org/misc/warthog_launch.html I got to level 30
Posted in .NET Buzz Forum, Feb 26, 2004, 4:56 PM
The answer I came up with is at the bottom. But first, a brief digression. There were several responses to my regex puzzle. They can be grouped into: Here's how you do it Here's how you do it without using regex Using regex on this problem will cause the Dow to drop and the end of Western civilization as we know it (Question: Would that mean that...
Posted in .NET Buzz Forum, Feb 26, 2004, 7:33 AM
Rick said in a comment, You said: “Philosophically, it would be nice to have some way to leverage the knowledge that the compiler has about the code, but we don't currently have any plans in that area.“ I've often thought that its pretty difficult for tools to do meaningfull things with most source code due to the complexities of...
Posted in .NET Buzz Forum, Feb 25, 2004, 9:22 PM
Shaykat and I have been having a discussion about how we organize information that we present to customers. Specifically, we're trying to figure out how to present “What's new/what's changed” information. There are two options we've been considering. The first option considers the language attribute to be the high-order bit. It would...
|