Convert C# to VB.NET

Hello I'm trying to make a plugin for a personal project I'm working on VB.NET however it's being difficult for me as I'm not an adept in C#.

The code I'm trying to convert is this:

using System;
using System.Collections.Generic;
using System.Windows.Form;
using Plugin.Classes;
using Plugin.Interfaces;

namespace MyFirstPlugin
{
	[Serializable]
	public class MyFirstPlugin : IPluginInstruction
	{
		private List<IPluginArgument> _arguments;

		public MyFirstPlugin()
		{
			_arguments = new List<IPluginArgument>();
			_arguments.Add(new PluginArgument(ArgumentType.Text, 250, "Text", "The text to display", null));
		}
		public void Execute()
		{
			MessageBox.Show(_arguments[0].value.ToString());
		}
		public string Name
		{
			get 	{ 	return "My First Plugin";	}
		}
		public ILists<IPluginArgument> Arguments
		{
			get 	{ 	return _arguments;	}
		}

		public event EventHandler<SetVariableEventArg> SetVariable;
	}
}

Open in new window


I've tried using the automated converters out there, but they seem to fix only a portion of the problem, when I type down the converted code back in Visual Studio, it prompts other errors like:

Code Image With Errors
AxDSanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

p_davisCommented:
for implement issues just highlight your interface and there should be a tab on the bottom left of the name. if you select that there should be some implement options.
AxDSanAuthor Commented:
This is what happens when I highlight the interface:

Interface
p_davisCommented:
right click on it, then... there is a listing for implement interface
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

AxDSanAuthor Commented:
Right Clcked:
right-clicked.png
p_davisCommented:
k, vb is different... sorry just do a carridge return after the interfaces name and it should stub it in

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AxDSanAuthor Commented:
Thank you very much, solved.
p_davisCommented:
sweet.... you are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.