Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
More details: http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string.
Frederik
Thanks Frederik, I know the difference, I am more interested in knowing if there are are kind of best practices from EPiServer on which to use.
I don't think we have any best practice for this because at runtime level they are the same. If I am to give recommendation then it would be choose one and stick with it for consistency. We - Commerce team choose string over String.
/Q
I have seen in examples in the documentation that sometimes a property is written:
public virtual String IntroText { get; set; }
and othertimes
string is just an alias for System.String so there are no differens between them but I wonder what is the prefered way to write it semantically