A R

A R

  • NA
  • 2
  • 0

NameValue Problem

Oct 12 2007 4:21 PM

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?


Answers (1)