I have a class like
public class ControlViewModel
{
public string FieldType { get; set; }
public string FieldName { get; set; }
}
and i create object ans set value for above class in controller side like,
ControlViewModel cvm = new ControlViewModel();
cvm.FieldType ="TEXT";
cvm.FieldName ="TEXT1";
Now want to copy 'cvm'
object to another object and change value 'FieldName' only