Fix: CS8618 "Non-nullable property must contain a non-null value when exiting constructor" in C#
CS8618 means a non-nullable field or property was not initialized by the time the constructor finished. Set it in the constructor, give it a default, mark it required, or make it nullable.