Click here to Skip to main content
15,896,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: Launching a program by double clicking file, file loading problem Pin
Azrael_ImAFingDemon18-Oct-04 19:49
Azrael_ImAFingDemon18-Oct-04 19:49 
GeneralRe: Launching a program by double clicking file, file loading problem Pin
Stefan Troschuetz18-Oct-04 22:19
Stefan Troschuetz18-Oct-04 22:19 
GeneralRe: Launching a program by double clicking file, file loading problem Pin
J4amieC18-Oct-04 22:31
J4amieC18-Oct-04 22:31 
Generalnamespace vs reference Pin
CocciaStella18-Oct-04 18:00
CocciaStella18-Oct-04 18:00 
GeneralRe: namespace vs reference Pin
Stanciu Vlad18-Oct-04 19:11
Stanciu Vlad18-Oct-04 19:11 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:18
CocciaStella19-Oct-04 19:18 
GeneralRe: namespace vs reference Pin
sreejith ss nair18-Oct-04 19:15
sreejith ss nair18-Oct-04 19:15 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay18-Oct-04 22:41
Colin Angus Mackay18-Oct-04 22:41 
sreejith ss nair wrote:
Suppose if you want to use this then explicitly you need to use the keyword 'using' to get that .dll there in that perticular .cs file.

Thats not true. I can add an assembly as a reference and use the classes within it without ever using a using in the cs file. For example, say I want to use a MyClass in MyAssembly within a namespace called MyNamespace. I add the reference to MyAssembly and then I can throughout the code put things like MyNamespace.MyClass mc = new MyNamespace.MyClass();

sreejith ss nair wrote:
if you want to use an external .dll then microsoft strictly ensure that the reference must be there in your application

That's also not true. See the various Load methods in System.Assembly[^] which allow you to load an an assembly at runtime that wasn't referenced at compile time.




Do you want to know more?


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
GeneralRe: namespace vs reference Pin
sreejith ss nair18-Oct-04 22:53
sreejith ss nair18-Oct-04 22:53 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay18-Oct-04 23:34
Colin Angus Mackay18-Oct-04 23:34 
GeneralRe: namespace vs reference Pin
sreejith ss nair18-Oct-04 23:42
sreejith ss nair18-Oct-04 23:42 
GeneralRe: namespace vs reference Pin
J4amieC18-Oct-04 23:42
J4amieC18-Oct-04 23:42 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:36
CocciaStella19-Oct-04 19:36 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay19-Oct-04 20:49
Colin Angus Mackay19-Oct-04 20:49 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:21
CocciaStella19-Oct-04 19:21 
GeneralRe: namespace vs reference Pin
«_Superman_»19-Oct-04 0:23
professional«_Superman_»19-Oct-04 0:23 
GeneralGetEnumerator Pin
Member 138504918-Oct-04 17:13
Member 138504918-Oct-04 17:13 
GeneralRe: GetEnumerator Pin
sreejith ss nair18-Oct-04 19:03
sreejith ss nair18-Oct-04 19:03 
GeneralRe: GetEnumerator Pin
HahnTech18-Oct-04 19:59
HahnTech18-Oct-04 19:59 
GeneralXML Transforms Error Pin
jzb18-Oct-04 16:23
jzb18-Oct-04 16:23 
GeneralRe: XML Transforms Error Pin
Stanciu Vlad18-Oct-04 19:08
Stanciu Vlad18-Oct-04 19:08 
Generalhelp new to C and problems with loops Pin
jenmaz18-Oct-04 15:54
jenmaz18-Oct-04 15:54 
GeneralRe: help new to C and problems with loops Pin
Steve Maier18-Oct-04 17:01
professionalSteve Maier18-Oct-04 17:01 
GeneralRe: help new to C and problems with loops Pin
jenmaz18-Oct-04 17:10
jenmaz18-Oct-04 17:10 
GeneralRe: help new to C and problems with loops Pin
sreejith ss nair18-Oct-04 19:27
sreejith ss nair18-Oct-04 19:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.