I just went to write the line…
if (!e.PeriodicData.Keys.Contains(process))
{
}
but did a typo on “!” and hit “@” instead. eg
if (@e.PeriodicData.Keys.Contains(process))
{
}
I was expecting intellisense to flipout but it didn’t. So I compiled and it compiled successfully.
Its not an operator, so what is “@”? What does it do?
In this case its a valid name. It is used if you want to use a keyword as a variable name like
@class.See: What does placing a @ in front of a C# variable name do?