怎么把c#语言转换成vb.net语言啊

解决方案 »

  1.   

    别人给我这个用c#写的,怎么转换成vb.net的语言
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;using System.Text;
    using System.Web; 
    using System.Web.UI;
    using System.Web.UI.WebControls;namespace BWup.Components
    {
        [DefaultProperty("Text")]
        [ToolboxData("<{0}:VoteControl runat=server></{0}:VoteControl>")]
        public class VoteControl : WebControl
        {
            [Bindable(true)]
            [Category("Appearance")]
            [DefaultValue("")]
            [Localizable(true)]
            public string Text
            {
                get
                {
                    String s = (String)ViewState["Text"];
                    return ((s == null) ? String.Empty : s);
                }            set
                {
                    ViewState["Text"] = value;
                }
            }        protected override void RenderContents(HtmlTextWriter output)
            {
                output.Write(Text);
            }
        }
    }
      

  2.   

    http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx