TigerThePleb
TigerThePleb
CC#
Created by TigerThePleb on 4/5/2023 in #help
Implement string properties
1, public string Prop { get; set} = string.Empty; 2, public string Prop { get; set} = ""; 3, public string Prop { get; set} = default!; Hi, I am a newbie, could some one help me to have better understand use case of those 3 way implement string properties above ? ( especially 3rd way) Thanks in advanced!
30 replies