Guys help me! How to use namespaces here? Is it working here at all? | Sololearn: Learn to code for FREE!
+ 3

Guys help me! How to use namespaces here? Is it working here at all?

so, i created some namespace with some data, here in app and saved it. next, i am created another file, wrote "using MyNamespace;" and... nothing!:-) Compile error - data of my namespace isn`t visible. What‘s up? im did something wrong or just custom namespaces not working here? p.s. hello from Russia. hope u can understand my English:-):-):-)

30th May 2017, 8:49 PM
Endy Whiskerman
Endy Whiskerman - avatar
1 Answer
+ 5
Codeplayground cannot find other codes, you'll need to use a different compiler or create the namespaces in the same file.
30th May 2017, 9:22 PM
Rrestoring faith
Rrestoring faith - avatar