Welcome to MSDN Blogs Sign in | Join | Help

September 2004 - Posts

A large subject like DF needs a few posts. My generalized plan to lay it out will start by describing the CLR's Dispose pattern, how our DF pattern works, and finally how the two patterns fit together. The CLR's Dispose patterns can be quite confusing. Read More...
10 Comments
Filed under:
Reader Andy Neilson writes in with another bug: The current compiler implementation has some problems. If the variable is a field of this, then the compiler will die. For example: class MyClass { public: int i; void Foo() { array<int>^ x = {1, 2, Read More...
1 Comments
Filed under:
Reader Rob Walker asks: Is there a neat way of handling dictionaries? I have a Dictionary<Guid, Object^> and want to iterate over the values. Currently I have to use the syntax: for each(KeyValuePair<Guid, Object^> v in dict) { v.Value ... Read More...
2 Comments
Filed under:
For Each? I won't go into a huge justification - suffice to say, there are some instances where it is nice to be able to iterate over a set, and perform operations on each member of that set. A good primer might be the MSDN node on C# foreach . A basic Read More...
15 Comments
Filed under:
 
Page view tracker