1
Answer

NameValue Problem

Ask a question
A R

A R

16y
2.3k
1

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)