---
title: "Comment by Skyake on \"Rust, GO, and C# in the same Stage\" | Hashnode"
description: "You&#39;re testing C# against the old .NET Framework 4.x with an unoptimized build. (csc produces unoptimized build by default)."
url: "https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca"
---

[Discussion](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102)

Comment [Rust, GO, and C# in the same Stage](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102)

[Skyake](https://hashnode.com/@Skyake)

[Sep 6, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca)

You're testing C# against the old .NET Framework 4.x with an unoptimized build. (csc produces unoptimized build by default).

[Skyake](https://hashnode.com/@Skyake)

[Sep 6, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca#reply-6135845a92d0321a99995448)

Tested on my machine and got following results:

C# with `dotnet run -c Release`:

```
RESULT
Optimus route : 0 7 2 3 4 12 6 8 1 11 10 5 9 0
Distance      : 7293
Elapse Time   : 18.1769783 s
```

C# with `csc` (unoptimized):

```
RESULT
Optimus route : 0 7 2 3 4 12 6 8 1 11 10 5 9 0
Distance      : 7293
Elapse Time   : 22.14066 s
```

[Harvey Triana](https://hashnode.com/@harveyt)

[Sep 6, 2021](https://hashnode.com/posts/rust-go-and-c-in-the-same-stage/6132c78536015b2f4e129102/comment/61357ceb92d0321a999953ca#reply-61358efc489de51a6a7b0bde)

You're right, wrong route. It must be referring to ..Bin\\Roslyn. TXS
