diff options
Diffstat (limited to 'docs/user-guide/03-convenience-features.md')
| -rw-r--r-- | docs/user-guide/03-convenience-features.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/user-guide/03-convenience-features.md b/docs/user-guide/03-convenience-features.md index 4957f267e..eefd9fc63 100644 --- a/docs/user-guide/03-convenience-features.md +++ b/docs/user-guide/03-convenience-features.md @@ -87,13 +87,16 @@ namespace ns You can also use the `using` keyword to pull symbols defined in a different namespace to the current scope, removing the requirement for using fully qualified names. -```csharp +```cpp namespace ns1.ns2 { int f(); } using ns1.ns2; +// or: +using namespace ns1.ns2; // alternative syntax. + void test() { f(); } // OK. ``` |
