.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

C# to VB.NET Help

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :Windows Application

I am trying to convert the following from C# to VB.NET and keep getting an error.  The code is converted correctly but the logic just does not work.

Dim MyChar As Char = "0"c
MyChar += 1

The error produced is:

Operator '+' is not defined for types Char and Integer

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend