C# uses CLR (Common Language Runtime), whereas Java uses JRE (Java Runtime Environment). It is also object-oriented, functional, strongly typed, and component-oriented, while Java is only object-oriented.
Input (Editable)
Result