Is there a way to generate a xml schema from a C# class?

I have done some playing with the schema tool. I have been unable to
use the schema to generate a member that is a array of objects.

Such as
public class element
{
public int someVar;

}

public class holder
{
public elememnt [] elements;
}