If I understand the question it appears you are need a dictionary of sorts where and int value would be associated with a key. If you changed your struct to look like this:
class Package // I would recommend using a class
{
Public Dictionary<string, int> intValues;
}
then you could "query" the int value that had the correct key like this...
var strQuery = "intA";
var pakage = new Package()
pakage.intValues = new Dictionary<string, int>()
{
new KeyValuePair<string, int>("intA", 0),
new KeyValuePair<string, int>("intB", 0),
new KeyValuePiar<string, int>("intC", 9),
}
var result = pakage.inValues[strQuery];
But this really is just enumerating a collection to find a value based on a key and your question could really use some clarification. Why don't you post what your trying to do without trying to suggest what code to use...