Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: #import (C# equivelant) Pin
Pete O'Hanlon29-Jan-07 9:39
mvePete O'Hanlon29-Jan-07 9:39 
GeneralRe: #import (C# equivelant) Pin
teejayem29-Jan-07 10:02
teejayem29-Jan-07 10:02 
GeneralRe: #import (C# equivelant) Pin
Alaric_29-Jan-07 12:18
professionalAlaric_29-Jan-07 12:18 
GeneralRe: #import (C# equivelant) Pin
Dave Doknjas29-Jan-07 13:07
Dave Doknjas29-Jan-07 13:07 
GeneralRe: #import (C# equivelant) Pin
Christian Graus29-Jan-07 13:30
protectorChristian Graus29-Jan-07 13:30 
GeneralRe: #import (C# equivelant) Pin
Luc Pattyn29-Jan-07 14:17
sitebuilderLuc Pattyn29-Jan-07 14:17 
GeneralRe: #import (C# equivelant) Pin
Christian Graus29-Jan-07 14:20
protectorChristian Graus29-Jan-07 14:20 
GeneralRe: #import (C# equivelant) Pin
teejayem29-Jan-07 14:50
teejayem29-Jan-07 14:50 
yeah basically i have a namespace called UVNET and i have a class called UniArray in that class has a bunch of static methods (one being called Extract) what Extract does is returns a string. Instead of doing


string myName = UniArray.Extract(someString, 2);


i would like to do

string myName = Extract(someString, 2);


a co-worker works with VB and said that instead of Importing just the namespace (i.e Imports UVNET) he can actually import the class also (i.e. Imports UVNET.UniArray) so he can just use the functions without calling the class over and over again. I was just wondering if there was a way that it was possible with C#. I mean its no big deal really it would just make the code look cleaner if i didn't have "UniArray" all over the place. This class has about 25 funcions that i use regularly and to me it would be easier if i could just type in the method itself





Don't be overcome by evil, but overcome evil with good

GeneralRe: #import (C# equivelant) [modified] Pin
teejayem29-Jan-07 15:14
teejayem29-Jan-07 15:14 
GeneralRe: #import (C# equivelant) Pin
Christian Graus29-Jan-07 15:52
protectorChristian Graus29-Jan-07 15:52 
GeneralRe: #import (C# equivelant) Pin
teejayem29-Jan-07 16:29
teejayem29-Jan-07 16:29 
QuestionNot sure of the best way to handle null values when not allowed Pin
~~~Johnny~~~29-Jan-07 8:30
~~~Johnny~~~29-Jan-07 8:30 
AnswerRe: Not sure of the best way to handle null values when not allowed Pin
bobsugar22230-Jan-07 11:30
bobsugar22230-Jan-07 11:30 
Questioncalc height from drawstring + wordwrap Pin
FreewareFire29-Jan-07 8:29
FreewareFire29-Jan-07 8:29 
AnswerRe: calc height from drawstring + wordwrap Pin
Luc Pattyn29-Jan-07 10:08
sitebuilderLuc Pattyn29-Jan-07 10:08 
GeneralRe: calc height from drawstring + wordwrap Pin
FreewareFire29-Jan-07 10:16
FreewareFire29-Jan-07 10:16 
QuestionHow can I do some audioprocessing while playing... Pin
ComCoderCsharp29-Jan-07 8:22
ComCoderCsharp29-Jan-07 8:22 
AnswerRe: How can I do some audioprocessing while playing... Pin
Luc Pattyn29-Jan-07 10:09
sitebuilderLuc Pattyn29-Jan-07 10:09 
QuestionConsole.Writeline Pin
Brendan Vogt29-Jan-07 8:06
Brendan Vogt29-Jan-07 8:06 
AnswerRe: Console.Writeline Pin
Luc Pattyn29-Jan-07 8:13
sitebuilderLuc Pattyn29-Jan-07 8:13 
GeneralRe: Console.Writeline Pin
Brendan Vogt29-Jan-07 8:26
Brendan Vogt29-Jan-07 8:26 
Questionmicrosoft.pointofservice.dll Pin
Masterhame29-Jan-07 7:38
Masterhame29-Jan-07 7:38 
AnswerRe: microsoft.pointofservice.dll Pin
Cimperiali4-Mar-09 21:49
Cimperiali4-Mar-09 21:49 
QuestionDynamic crystal report Pin
Butterfly_h29-Jan-07 6:45
Butterfly_h29-Jan-07 6:45 
Questioncustom user control Pin
netJP12L29-Jan-07 6:35
netJP12L29-Jan-07 6:35 

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.