I have the following code...
NameValue[] pair = new NameValue[1];pair[0].Name = "SomeValue";pair[0].Value = "Some Value";
This throws a null pointer exception. Is this the correct way to initialize the NaneValue?