I'm designing a plugin system for my software. Plugins are going to be DLLs with some methods and properties. There is a "Name" string property that contains plugin name. As it is going to be totally read-only and uneditable (even for constructor) and should not change while run time, which of the following codes is better (safer)?
public string Name { get; } = "Name";
or
public string Name { get { return "Name"; } }