Hello my fellow Daniwebaholics!

I know it is kindof off the wall, but I need help converting a piece of C# code to VB.net.
I know a little C#, but not enough to be able to convert complex syntax from one to the other.

Here is the code in C#:

p.Location = new System.Drawing.Point(((Panel)PanelContainer[PanelContainer.Count - 1]).Left, ((Panel)PanelContainer[PanelContainer.Count - 1]).Bottom + 5);

Where PanelContainer is an arrayList.

Any help would be GREATLY appreciated.

Thank you,
BegginnerDev

Recommended Answers

All 2 Replies

It will not convert it, but I managed to convert it by hand.

Thank you for the reference site.

That will come in handy in the future.

+1 for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.