I started work on Console application which is already completed in .net framework 4.6.1 but I have .net framework 4.5,so I upgrade my framework to 4.6.1.
After that on following code I got "Syntax error, ':' expected" this error.
Disconnected?.Invoke(this);
The following is working on my collegues system.
So how to resolve this issue ?

Nanddeep NachanRank #38 · 35.2K reputationPosted Mar 13, 2018, 8:48 PM EDT
Sanket JainRank #1,789 · 835 reputationPosted Mar 13, 2018, 9:52 PM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Mar 13, 2018, 10:07 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Mar 13, 2018, 10:18 PM EDT