CC#•Created by Faker on 1/18/2025 in #help when to use var keyword and when to use data type itself
The disadvantage of not using var can be the wrong type being returned even though it may be compatible, especially when using nullable types for example string and string?, var will always hold the correct type.