Hi guys, I found out that this is a VERY interesting community for programmers :D Anyways, it seems that C# and Java are VERY SIMILAR, and almost identical, however, i'm just wondering whther there's a need to import library in C# ? Thanx

Recommended Answers

All 2 Replies

yep they are similar, both OOP languages...
you add "references" to your projects. many libraries are avaible in .net framework, but if you need more specific things, you need to find these libraries...

Using references is like adding things to classpath in java.
Many things are there by default.

The C# equivalent of import is "using".

i.e.
using System.Data;

Like Java classpath and import, both a reference and a using statement are generally required for C#.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.