The code has the following loop:
foreach (var event in events)
{
...
{
In courses, we cannot name the variable "event" because it is a keyword. Which method is more suitable in such cases: use the @ (@ event) prefix or use another name, for example, "currentEvent"?
source
share