vb.net-to-c#
What is the C# equivalent of CType in VB.NET?
I am trying to convert the example provided in MSDN article Creating Dynamic Data Entry User Interfaces to C#, but am stuck at the following code:[详细]
2023-01-29 16:55 分类:问答Any Visual Basic 'With' analog in C#? [duplicate]
This question already has answers here: 开发者_如何学JAVA Closed 12 years ago. Possible Duplicate:[详细]
2023-01-25 15:45 分类:问答Exclude file from compile configuration
I\'m trying to setup the configuration from my project.I currently use my project to connect to different ip addresses.I would like to include the ip address that is in a seperate file for different b[详细]
2023-01-08 19:24 分类:问答Equivalent of Format of VB in C#
What will be the equivalent code for 开发者_开发技巧Format(iCryptedByte, \"000\") (VB.NET)in C# ?String.Format(format, iCryptedByte); // where format like {0:D2}[详细]
2023-01-08 17:28 分类:问答Nothing equals String.Empty, null does not equal String.Empty, what am I missing here?
In a mixed code project (VB and C#) we were debugging some old Visual Basic code like this: If Request.Params(\"xxx\") <> \"\" Then[详细]
2023-01-05 03:16 分类:问答How to convert vb.net coded to WORKING c# code?
Hi I want to convert the code at Webcam using DirectShow.NET to C#. It works perfectly in vb.net. I tried c开发者_如何学运维onverting using an online converter, however I got about 30 errors,[详细]
2023-01-04 11:01 分类:问答C# internal VS VBNET Friend
To this SO question: What is the C# equivalent of friend?, I would personally have answered \"internal\", just like Ja did among the answers! However, Jon Skeet says that there is no direct equivalenc[详细]
2022-12-29 07:04 分类:问答ByRef underlined with "Expression Expected" error in VB.Net when trying to pass in a object of type List(Of clsFooDetail)
I work with C# 99% of the time. However, I\'m having to update some legacy VB.Net code and encountering an issue with VB.Net code syntax. The error that I get is \"ByRef\" is underlined and \"Expected[详细]
2022-12-22 07:27 分类:问答Linq - Convert VB.Net to C# help with on query
We\'re slowly converting some code from VB.Net to C#, so I\'m trying to learn the correct syntax in C#. Could someone help with this conversion? Basically I pull from a view all values that have not a[详细]
2022-12-16 06:59 分类:问答Implications in using VB.NET method DateAndTime.DateDiff with C#
I\'m building a new ASP.NET web application based on a legacy one (Classic ASP). The people, who build this code 4, 5 years ago, used a lot of VBScript functions like DateDiff.[详细]
2022-12-08 22:26 分类:问答