[Solved] “Cannot Implicitly convert type ‘float’ to ‘int'” even when I’m not using any ints


You’re trying to use float values as array indexer in the code fragments like: noise[x1, y1].

Array indexers can be only integers in .NET, but you’ve declared them as float x1, y1.

2

solved “Cannot Implicitly convert type ‘float’ to ‘int'” even when I’m not using any ints