Click here to Skip to main content
15,891,774 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Converting VB to C# Pin
RickZeeland13-Feb-18 8:04
mveRickZeeland13-Feb-18 8:04 
GeneralRe: Converting VB to C# Pin
ZurdoDev13-Feb-18 8:52
professionalZurdoDev13-Feb-18 8:52 
GeneralRe: Converting VB to C# Pin
Slacker00713-Feb-18 9:09
professionalSlacker00713-Feb-18 9:09 
GeneralRe: Converting VB to C# Pin
RickZeeland13-Feb-18 10:02
mveRickZeeland13-Feb-18 10:02 
GeneralRe: Converting VB to C# Pin
Slacker00713-Feb-18 8:26
professionalSlacker00713-Feb-18 8:26 
GeneralRe: Converting VB to C# Pin
OriginalGriff13-Feb-18 8:34
mveOriginalGriff13-Feb-18 8:34 
GeneralRe: Converting VB to C# Pin
Slacker00713-Feb-18 8:37
professionalSlacker00713-Feb-18 8:37 
GeneralRe: Converting VB to C# Pin
Marc Clifton13-Feb-18 10:25
mvaMarc Clifton13-Feb-18 10:25 
Member 11233611 wrote:
VB has
Dim oForm As New EuroConverter
oForm.Show(EuroConverter)


In C#:
object obj = Activator.CreateInstance(Type.GetType("[namespace].EuroConverter"));
Form form = (Form)obj;
MethodInfo mi = form.GetType().GetMethod("Show"));
mi.Invoke(form, new object[] {});

C# is sooo much harder. Frown | :(
Latest Article - Code Review - What You Can Learn From a Single Line of Code

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

JokeRe: Converting VB to C# Pin
Mycroft Holmes13-Feb-18 13:45
professionalMycroft Holmes13-Feb-18 13:45 
GeneralRe: Converting VB to C# Pin
Eddy Vluggen13-Feb-18 11:53
professionalEddy Vluggen13-Feb-18 11:53 
GeneralRe: Converting VB to C# Pin
TheGreatAndPowerfulOz13-Feb-18 12:32
TheGreatAndPowerfulOz13-Feb-18 12:32 
GeneralRe: Converting VB to C# Pin
Munchies_Matt13-Feb-18 21:15
Munchies_Matt13-Feb-18 21:15 
GeneralOh no... Pin
#realJSOP13-Feb-18 7:11
mve#realJSOP13-Feb-18 7:11 
GeneralRe: Oh no... Pin
Tim Carmichael13-Feb-18 7:16
Tim Carmichael13-Feb-18 7:16 
GeneralRe: Oh no... Pin
PIEBALDconsult13-Feb-18 7:27
mvePIEBALDconsult13-Feb-18 7:27 
JokeRe: Oh no... Pin
Kaladin13-Feb-18 7:43
Kaladin13-Feb-18 7:43 
GeneralRe: Oh no... Pin
S Douglas13-Feb-18 7:45
professionalS Douglas13-Feb-18 7:45 
GeneralRe: Oh no... Pin
Slacker00713-Feb-18 8:28
professionalSlacker00713-Feb-18 8:28 
GeneralRe: Oh no... Pin
#realJSOP13-Feb-18 8:33
mve#realJSOP13-Feb-18 8:33 
GeneralRe: Oh no... Pin
Nelek13-Feb-18 13:44
protectorNelek13-Feb-18 13:44 
GeneralRe: Oh no... Pin
TheGreatAndPowerfulOz13-Feb-18 12:06
TheGreatAndPowerfulOz13-Feb-18 12:06 
GeneralRe: Oh no... Pin
Chris Maunder13-Feb-18 12:10
cofounderChris Maunder13-Feb-18 12:10 
GeneralRe: Oh no... Pin
Mycroft Holmes13-Feb-18 13:52
professionalMycroft Holmes13-Feb-18 13:52 
GeneralTo The Guy At Microsoft Who... Pin
Kevin Marois13-Feb-18 6:05
professionalKevin Marois13-Feb-18 6:05 
GeneralRe: To The Guy At Microsoft Who... Pin
Ron Anders13-Feb-18 6:12
Ron Anders13-Feb-18 6:12 

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.