I am assuming you have some output related code elsewhere. Current code is just to compare and setup your
Global
object that seems to have atleast 9 properties.
Now, the string you are comparing might have a word in different case - upper or lower. Try using
StringComparison.OrdinalIgnoreCase
and see if that goes through.
if (prodCateogry.Trim().Equals("Diamond",StringComparison.OrdinalIgnoreCase))
{
}
Further, use IDE debugger and walk through line by line to see if the object is getting the data assigned if the values compared are found matching (if statements getting executed).