c#-to-vb.net
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 分类:问答Constructing an object and calling a method without assignment in VB.Net
I\'m not entirely sure what to call what C# does, so I haven\'t had any luck searching for the VB.Net equivalent syntax (if it exists, which I suspect it probably doesn\'t).[详细]
2022-12-27 14:59 分类:问答Convert C# format to VB
I am sure this is a simple question for you guys but I don\'t know what th开发者_开发百科is developer is doing.[详细]
2022-12-27 04:26 分类:问答Adding items to the List at creation time in VB.Net
In c# I can initialize a List at creation time like var list = new List<String>() {\"string1\", \"string2\"};[详细]
2022-12-26 09:42 分类:问答Translating delegate usage from C# to VB
In physics library written in C# I have the following code: (in ContactManager.cs) public delegate void PostSolveDelegate(Contact contact, ref ContactImpulse impulse);[详细]
2022-12-25 13:32 分类:问答Why doesn't this (translated) VB.NET code work?
I had a piece of C# code converted, but the translated code isn\'t valid... Can somebody help out? C# <table>[详细]
2022-12-25 01:37 分类:问答^= operator in vb.net (Xor Equals)?
Is开发者_运维问答 there an equivalent in VB.NET to the C# ^= operator?You have to code it like this:[详细]
2022-12-22 18:22 分类:问答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 分类:问答Accessing a property in Visual Basic as opposed to C#
The C# code is: DataContext db = new DataContext(MyProject.Properties.Settings.Default.MyString) I am trying to convert this app to VB.NET but VB.NET does not seem to have a .Properties on the proj[详细]
2022-12-22 02:26 分类:问答how to group by over anonymous type with vb.net linq to object
I\'m trying to write a linq to object query in vb.net, here is the c# version of what I\'m trying to achieve (I\'m running this in linqpad):[详细]
2022-12-21 11:50 分类:问答