• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

C# Equivalent to VB 'Imports'

Imports Foo
Imports Foo.Bar   ''Bar' is a type

'namespace alias:
Imports foo = SomeNamespace
'type alias:
Imports bar = SomeNamespace.SomeType
using Foo;
using static Foo.Bar;   //'Bar' is a type

//namespace alias:
using foo = SomeNamespace;
//type alias:
using bar = SomeNamespace.SomeType;

Use Instant C# to convert from VB.NET to C#.     

Additional resource: VB.NET and C# Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.