how to set model property in c# without using set code example Example: c# get set public class Employ { public string Name { get; set; } }