Subscribe to
Posts
Comments

Archive for the 'C#' Category

VS2008 XML/XSD

It seems like latest version of Visual Studio, I’m talking about VS2008 have some serious problems with generating correct C# datasets from valid (from mine and Altova XmlSpy point of view) XSD files. That’s will be clear tomorrow, so I guess, that I’ll put detailed description of my experiments here shortly.

It’s funny, but Curiously recurring template pattern works in C#. Well, works, but it’s not possible to implement static methods calls, because C# interfaces does not support them. Anyway, here is a snippet:

using System;

namespace A {

interface IA {
void Test();
}

class Base<T> where T : class, IA {
[…]