[C#] Fix compilation warnings and add comments of publicly visible types