Expression bodied function members provide syntactic convenience and are simply members with no body. Aligned with the vision of this version, the feature brings simplification to the language so simple functions and alike such as this

public string Greet(string name) 
{ 
    return Console.WriteLine("Hello " + name); 
}

becomes..

public string Greet(string name) => Console.WriteLine("Hello " + name);

It makes read-only properties and methods with single return statements concise. Properties and indexers can have expression bodies as well.

public Person this[int id] => _repo.GetUser(id);

As you see it uses a lambda like syntax and in this case with regards to the property ,there is no need for the get keyword as it is implicit by its use of the expression body syntax.

That’s all for now!