//Requires C# 6.0 string camlCondition = $@" <Where> <Contains> <FieldRef Name='Resource'/> <Value Type='Text'>{(string)parameter}</Value> </Contains> </Where>";