In C# I usually use String
when I'm utilizing a method and string
when declaring a variable. I read elsewhere that this is the preferred method to keep things clean and that made sense to me. In Visual Studio 2015, I'm getting a new message I haven't gotten before when I use String
: Name can be simplified
. The VS suggestion is to use string
instead.
Why is string
now preferred over String
in VS2015 whereas it wasn't in 2013??
Not a duplicate of this question. That one asks what the difference is overall, I'm asking why VS is now suggesting one over the other; I don't know if a technical difference has changed or something to that effect.