Question: I was getting the following error when running my tests using SpecFlow:

```
System.FormatException: Input string was not in a correct format.

```

And it took me a while to work out why it was happening.

Answer: 
It ended up being because I had omitted the single quotes in one of my step definitions, for example:

```
[Then(@"Something adds up to a quantity of (.*)")]

```

when it should have been

```
[Then(@"Something adds up to a quantity of '(.*)'")]

```

Note the single quotes around (.\*)
Another thing to look for when running into this problem is to verify parameters.

```
When I update the thing by Id (<Id>)

Examples:
  | Name |
  | 1    |

```

The problem here is that "Id" does not match "Name" in the examples table