.NET Fiddle

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	public static void Main()
	{
		// This is the selected value object from the combobox
		string selectedSystem = "Test";
		
		// This is the format of your clause. {0} and {1} are replacement tokens
		string clauseFormat = "System = '{0}' AND Type = '{1}'";
		
		// Replace the tokens in the clause format. 
		string clause = String.Format(clauseFormat, selectedSystem, "Hydrant");

		// Output test
		Console.WriteLine(clause);
	}
}
;