Need help regarding c# code

  • Thread starter Thread starter Tridip
  • Start date Start date
T

Tridip

Guest
just see this code i found

public class ErrorViewModel
{
public string RequestId { get; set; }

public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}

tell me ShowRequestId is function or property?

convert this code to old .net version as a result i can understand.

what term / name can be used to address this kind of function ?

if my function would be multi line then how can i write function like above one ?

how this kind of function can have multiple argument ?

need some insight. thanks

Continue reading...
 
Back
Top