INotifyPropertyChanged - delegate{}

am just switching over to c#, I have the line

   public event PropertyChangedEventHandler PropertyChanged = delegate { };

what does the = delegate{} do?

I am sure I have seen this slightly different to check if anything if connected, a null check previously
VisionTeknologyAsked:
Who is Participating?
 
anarki_jimbelConnect With a Mentor Commented:
I believe this declares an anonymous method:

http://www.csharp-station.com/Tutorial/CSharp/Lesson21
0
All Courses

From novice to tech pro — start learning today.