1
Reply

NameValue Problem

A R

A R

Oct 12 2007 4:21 PM
2.3k

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)