Visual Studio 2017 keeps filling out code sometimes even with intellisense turned off. I'm trying to learn C# and I'm copying examples from the book, Visual C# How To Program sixth edition, and just going through them and reading the book.
Sometimes auto complete really screws things up and I don't know what I need to turn off. Here is an example with a line of code.
public override decimal Earnings() => WeeklySalary;
But when I try to put this in Visual Studio I get to the () and it does this.
public override decimal Earnings()
{
throw new NotImplementedException();)
}
This really messes things up when I am looking at the code I'm trying to copy and not the screen. How do I stop this?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.