.cs files. Help needed.

Results 1 to 2 of 2

Thread: .cs files. Help needed.

  1. #1
    Join Date
    Dec 1969

    Default .cs files. Help needed.

    I have one web page in .aspx and .cs files (class A). I also have another class(just the class, not a web page) that I would like to put in a differenet .cs file(class B). Is there way to reference the class B from the methods of class A if they are in different .cs files or do I have to put them in one .cs file?<BR>Now if I put them in one file the application works, if I put in different files it does not. <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: .cs files. Help needed.

    Are the class files part of the same solution/project? Once compiled, you just instantiate the object:<BR><BR>MyProj.myClass objThingy = new MyProj.myClass();<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts