I have created a list object
public IReadOnlyList<employee>? employeelist{ get; set; }
and I am assigning
public string EmployeeType => ContentTypes.GetemployeeType(employeelist?._manager, employeelist?.File.address?? string.Empty);
here am getting above error;--in (employeelist?._manager, employeelist?.File.address)
class i am using
public class employee:filedetails { public employee(IBrowserFile file) { File = file ?? throw new ArgumentNullException(nameof(file)); FileName = Path.GetFileName(File.Name); } public IBrowserFile File { get; } }
how i can fix these?