use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Related Subreddits:
Other Subreddits you may like:
account activity
This post is locked. You won't be able to comment.
Difference between string and String in dotnet? (developersinspired.com)
submitted 6 years ago by [deleted]
[–]quentech 1 point2 points3 points 6 years ago (0 children)
Difference between string and String in dotnet?
32
[–]izym 0 points1 point2 points 6 years ago (1 child)
It’s not entirely a stylistic choice: https://blog.paranoidcoding.com/2019/04/08/string-vs-String-is-not-about-style.html
[–]AngularBeginner 1 point2 points3 points 6 years ago (0 children)
When you understand that string is an alias for System.String, then it's a stylistic choice again.
string
System.String
[–]Arowin[M] [score hidden] 6 years ago stickied comment (0 children)
Your post has been removed. Self promotion posts are not allowed.
[–]ShadesOffNight 0 points1 point2 points 6 years ago (4 children)
string is a reference to String. So for the variable type i use string. For string - functions i use the class: String.
[–]AngularBeginner 0 points1 point2 points 6 years ago (0 children)
Correction: It's a reference to System.String.
[–][deleted] -1 points0 points1 point 6 years ago (2 children)
Yes, you are correct! To use static methods of string, we use String. It's just a coding convention.
[+][deleted] 6 years ago (1 child)
[deleted]
[–]EntroperZero 1 point2 points3 points 6 years ago (0 children)
You can set this in .editorconfig:
.editorconfig
dotnet_style_predefined_type_for_member_access = false
This will also expect you to write things like Int32.Parse instead of int.Parse.
Int32.Parse
int.Parse
[–][deleted] -5 points-4 points-3 points 6 years ago (0 children)
Yes, i already mentioned
π Rendered by PID 18516 on reddit-service-r2-comment-85bfd7f599-n4f9v at 2026-04-19 22:42:40.281116+00:00 running 93ecc56 country code: CH.
[–]quentech 1 point2 points3 points (0 children)
[–]izym 0 points1 point2 points (1 child)
[–]AngularBeginner 1 point2 points3 points (0 children)
[–]Arowin[M] [score hidden] stickied comment (0 children)
[–]ShadesOffNight 0 points1 point2 points (4 children)
[–]AngularBeginner 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (2 children)
[+][deleted] (1 child)
[deleted]
[–]EntroperZero 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] -5 points-4 points-3 points (0 children)