diff --git a/src/api/dotnet/Context.cs b/src/api/dotnet/Context.cs index 0293fc76a..6c711c185 100644 --- a/src/api/dotnet/Context.cs +++ b/src/api/dotnet/Context.cs @@ -218,10 +218,17 @@ namespace Microsoft.Z3 /// public BitVecSort MkBitVecSort(uint size) { - return new BitVecSort(this, Native.Z3_mk_bv_sort(nCtx, size)); } + /// + /// Create a new string sort. + /// + public SeqSort MkStringSort() + { + Debug.Assert(s != null); + return new SeqSort(this, Native.Z3_mk_string_sort(nCtx)); + } /// /// Create a new sequence sort.