typeof(/*The Class*/).GetProperties().First(f => f.Name.Contains(/*name of property*/)).SetValue(/*object of the class*/, /*the value*/);