Jump to content

[c#] Is there any way to import class from another file on client-side?


Recommended Posts

"files" should be located in your solution.

"classes" can be used via static: Classname.Method(params[])
or via instance of an object: var x = new Classname(constructorParams[]); x.Method(params[]);

Make sure that you use the right namespace. But Visual Studio is doing that normally for you when you creating a new "file"

Edited by Division
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...