Browse Source

C# exports: Fix semicolon syntax error

Co-authored-by: Loregret <[email protected]>
Max Hilbrunner 8 months ago
parent
commit
8095573f87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/scripting/c_sharp/c_sharp_exports.rst

+ 1 - 1
tutorials/scripting/c_sharp/c_sharp_exports.rst

@@ -466,7 +466,7 @@ of the selected option (i.e. ``0``, ``1``, or ``2``).
 .. code-block:: csharp
 
     [Export(PropertyHint.Enum, "Warrior,Magician,Thief")]
-    public int CharacterClass { get; set; };
+    public int CharacterClass { get; set; }
 
 You can add explicit values using a colon: