diff options
| author | Ica <82805019+burak-efe@users.noreply.github.com> | 2024-11-22 08:34:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 21:34:18 -0800 |
| commit | 13f42e093cbb9e9a8c02151a6ba5ed15f99658f4 (patch) | |
| tree | 7ba35fc907f5d82702f54ec1f64c80cd0e9c40a4 /docs/user-guide | |
| parent | e0033b3ba9e416f321efa074e93c7bcc11ba535c (diff) | |
[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 <yonghe@outlook.com>
Diffstat (limited to 'docs/user-guide')
| -rw-r--r-- | docs/user-guide/03-convenience-features.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/03-convenience-features.md b/docs/user-guide/03-convenience-features.md index 3c07e65e4..38f021113 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. |
