I have a string array:
string[] initValue =
{"A=Test11,B=Test12,B=TestA,C=Test14,D=Test15",
"A=Test21,B=Test22,B=TestA,C=Test24,D=Test25",
"A=Test31,B=Test32,B=TestA,C=Test34,D=Test35"};
And I need the distinct values that start with "B=" and are not "B=TestA", example:
string[] resultValue =
{"Test12",
"Test22",
"Test32"};
How can I use Linq to get this result?