0

I came across the following set of code while referring and trying to learn up the basics of C#.

public Dictionary<string, string> RequestHeaders { get => requestHeaders; set => requestHeaders = value; }

Normally, I have not come across this operator "=>". Can some one guide me how to write the equivalent in generic version probably C# 5.0 version without the "=>" operator.

Poul Bak
  • 10,450
  • 5
  • 32
  • 57
Dilip Nair
  • 61
  • 1
  • 7

0 Answers0