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

Java Equivalent to the C# 'using' Directive

C# Java
using Foo;
using static Foo.Bar;

//namespace alias:
using foo = SomeNamespace;
//type alias:
using bar = SomeNamespace.SomeType;
import Foo.*;
import static Foo.Bar.*;

*no equivalent*
*no equivalent*

Use C# to Java Converter to convert from C# to Java.     

Additional resource: Java and C# Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.