C to VB.NET. One code line

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shapper

    C to VB.NET. One code line

    Hello,

    How can I translate to VB.NET the following LINQ code line:

    var Tag = db.Tags.Single( t =t.TagId == 150);

    Thanks,
    Miguel
  • =?Utf-8?B?RGF2aWQgQW50b24=?=

    #2
    RE: C to VB.NET. One code line

    Dim Tag = db.Tags.Single( Function(t) t.TagId = 150)
    --
    Source code converters: Convert between C#, C++, Java, VB, and Python with the most accurate and reliable source code converters

    C++ to C#
    C++ to VB
    C++ to Java
    Instant C#: VB to C#
    Instant VB: C# to VB
    Instant C++: VB or C# to C++/CLI
    Java to VB & C# Converter: Java to VB or C#


    "shapper" wrote:
    Hello,
    >
    How can I translate to VB.NET the following LINQ code line:
    >
    var Tag = db.Tags.Single( t =t.TagId == 150);
    >
    Thanks,
    Miguel
    >

    Comment

    Working...