java or c# ?
I want to start learning a new programming language but I dont know which one is better for me , java or c# .
the most important thing is that the language could be used in project that contains both hardware and software . I mean the language must support system programming too.
System programming through an API? What else would programs do?
Directly accessing the systems hardware? Neither C# nor Java will do the job unless it is actually possible to generate real mode software with Java/C# or write kernel modules (or whatever the equivilent of your OS is). You won't be able to access hardware directly from within your OS. Or at least should not be.
That said, I'm a big fan of C#, but if you want to do hardware programming you won't get around C.