Created
September 30, 2020 12:15
-
-
Save idg10/f14b43146b55fafc8df393aa72baddf1 to your computer and use it in GitHub Desktop.
A bad way to make a CS8618 warning go away
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Person | |
{ | |
// This gets rid of the CS8618 warning, but it is | |
// A BAD IDEA! | |
public string FavouriteColour { get; set; } = ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment