0

I have written this code in C#:

public bool AsyncInjection { get; set; } = false;

public uint TimeOut { get; set; } = 5000;

And after built I got this error:

enter image description here

Error Invalid token '=' in class, struct, or interface member declaration
Error Invalid token '=' in class, struct, or interface member declaration

Can you help me, please?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
pepe25
  • 1
  • 2

0 Answers0