C# I am using a dictionary like:
var dict = new Dictionary<byte, Tuple<string, string>>();
Tuple<string, string> t = new Tuple<string, string>(label, unit);
I want to declare it as a data member of the class. but it says
The contextual keyword 'var' may only appear within a local variable declaration or in script code
How do I solve this?