From 13f42e093cbb9e9a8c02151a6ba5ed15f99658f4 Mon Sep 17 00:00:00 2001 From: Ica <82805019+burak-efe@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:34:18 +0300 Subject: [PATCH] [Docs] Extensions - better wording for c# equivalent (#5636) slang extensions look pretty same c# extension methods, not partial classes. Partial classes allow extending types to introduce more variables unlike slang extensions. Also c# users that use extension methods much more than partial types, probably. Co-authored-by: Yong He --- docs/user-guide/03-convenience-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/03-convenience-features.md b/docs/user-guide/03-convenience-features.md index 3c07e65e40..38f021113d 100644 --- a/docs/user-guide/03-convenience-features.md +++ b/docs/user-guide/03-convenience-features.md @@ -567,7 +567,7 @@ void test() } ``` -This feature is similar to extensions in Swift and partial classes in C#. +This feature is similar to extensions in Swift and extension methods in C#. > #### Note: > You can only extend a type with additional methods. Extending with additional data fields is not allowed.