.net loading classes

In Java I use a class loader to load my class files which gives me the flexibility to load class files anytime during program execution and from anywhere I have access to.

In .net do I have the same flexibility?  How do I do that?

100 extra points (300 ttl) if I get a correct answer by 1:00 cst today (4/15)

Thanks - Michael
mnicollsAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Joe_GriffithCommented:
I don't think you have any control over "Loading" of classes.  You compile to MSIL and then the routines are "Loaded" as needed by the Jitter.
0
 
CJ_SCommented:
So you can totally ommit the loading through functions ;-)
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
justinhemphillCommented:
When you create a new instance of a class, it is loaded.  So :

Dim o as New myClass

will call the constructor of myClass and store a new instance of it in o.

You could have a startup class that creates new instances of all your classes.  This in theory would speed up access to these classes throughout your program, but unless your classes are very intensive, it would hardly be worth it.
0
 
mnicollsAuthor Commented:
I understand that class files are automatically loaded upon instantiation.  The question is if I - by choice - decide to go out and get a class file from a place that is unknown at deployment time and only known at runtime can I specify that place.

I don't know what the 'Jitter' is but if it loads classes then can I ask it for a specific class at a specific URL by giving it a String.  Thanks so far - Michael
0
 
justinhemphillCommented:
You will need to use late binding then.
0
 
mnicollsAuthor Commented:
Okay but how?
0
 
twalgraveCommented:
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- points to justinhemphill
Please leave any comments here within the
next seven days.
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
All Courses

From novice to tech pro — start learning today.