Can someone explain the code and its use. This was a .net 3.5 application. I've never seen anything like it before:
int IList.Add(object value) => this.Add(value as Trigger)
this code was outside and was not part of any method, but inside the main class.
I get an error in this code, but to fix the error, I need to understand why and why.
Sorry, I don’t have the full code, I can’t provide more information, I just want to understand why it is.
You can expand
like this:
int IList.Add(object value) { return this.Add(value as Trigger); }
, - # 6, , , Visual Studio.Net 2015. .
( MS " " ), , .Net framework. # 6 3.5, .Net frameworks.