© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
27 replies
ogie1985
❔ Difference string and string?
string
? t
= null
;
/
/ no warning
string t2
= null
;
/
/ warning
Console
.WriteLine
(t
)
;
Console
.WriteLine
(t2
)
;
/
/behaves same
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Difference between string and string?
C
C# / help
8mo ago
✅ Difference between `string[]` and `IEnumerable<string>`
C
C# / help
16mo ago
Difference between String and string keyword [Answered]
C
C# / help
4y ago
❔ What is the difference between string pool and intern pool?
C
C# / help
4y ago