Browse Source

Merge pull request #10275 from mhilbrunner/fix-csharp-semicolon

C# exports: Fix semicolon syntax error
Max Hilbrunner 8 months ago
parent
commit
f87ae31e93
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: