By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,681 Members | 1,775 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,681 IT Pros & Developers. It's quick & easy.

help

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 <kh****@socialcircles.com>
wrote:
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
Microsoft MVP - ASP/ASP.NET
Nov 17 '05 #2

P: n/a
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 <kh****@socialcircles.com>
wrote:
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
Microsoft MVP - ASP/ASP.NET
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.