C#C
C#4y ago
3 replies
whynot6745

❔ VS studio IntelliSense string autocomplete?

I want to make intellisense in c# visual studio 2022 provides suggestions for a specific set of strings when using a string parameter. just like in VSCode.

maybe something like void SetColor([Suggest("red", "blue")]string color) { ... }
Was this page helpful?