© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
8mo ago
•
15 replies
jd
Difference between string and string?
From a quick google search
, it said that string isn
’t nullable but string
? Is but when I assign null to string my program still compiles and runs fine
, only thing I get is a warning
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 `IEnumerable<string>`
C
C# / help
16mo ago
Difference between String and string keyword [Answered]
C
C# / help
4y ago
❔ Difference string and string?
C
C# / help
3y ago