help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • khawar

    #1

    help

    in C++ and asp you can use include blah.blah
    how do you do that in C# and asp.net
    i have created a class and saved it as a blah.cs file
    i want to be able to use something similar to include
    blah.cs in other *.cs files where i might use objects
    defined in blah.cs
    help
  • Craig Deelsnyder [MVP]

    #2
    Re: help

    the keyword is using, at the top of your class file (outside the class of
    course)

    using blah.blah;

    where blah.blah is the namespace to import

    On Mon, 14 Jul 2003 14:54:54 -0700, khawar <khawar@socialc ircles.com>
    wrote:
    [color=blue]
    > in C++ and asp you can use include blah.blah
    > how do you do that in C# and asp.net
    > i have created a class and saved it as a blah.cs file
    > i want to be able to use something similar to include blah.cs in other
    > *.cs files where i might use objects defined in blah.cs
    > help
    >[/color]



    --
    Craig Deelsnyder
    Microsoft MVP - ASP/ASP.NET

    Comment

    • Craig Deelsnyder [MVP]

      #3
      Re: help

      the keyword is using, at the top of your class file (outside the class of
      course)

      using blah.blah;

      where blah.blah is the namespace to import

      On Mon, 14 Jul 2003 14:54:54 -0700, khawar <khawar@socialc ircles.com>
      wrote:
      [color=blue]
      > in C++ and asp you can use include blah.blah
      > how do you do that in C# and asp.net
      > i have created a class and saved it as a blah.cs file
      > i want to be able to use something similar to include blah.cs in other
      > *.cs files where i might use objects defined in blah.cs
      > help
      >[/color]



      --
      Craig Deelsnyder
      Microsoft MVP - ASP/ASP.NET

      Comment

      Working...