Note: Differences from Java as seen from C #

As a memo so as not to forget

Differences from Java as seen from C

● Access modifier Is internal not Java?

● Data types are roughly divided Value type and reference type ↓ Primitive type in Java?

● Use constants const is c #

● Method to convert from character string to number parse method Converted type .parse (number)

● Use numbers as character strings and numbers Tostring number .Tostring (format specifier)

● Clear array You can clear the array with Array.Clear.

Can also be specified Array.Clear(array,1,2)

All Array.Clear(array,0,array.length)

● Array copy Copy To method

Example) ary1.CopyTo(ary2,0)
Copy source sequence name Copy destination sequence name

● Simple copy of Array Clone method

public  RasterImage Clone()

Recommended Posts

Note: Differences from Java as seen from C #
JavaScript as seen from Java
Call Java library from C with JNI
Calling java from C ++ on Android NDK
Differences in writing Java, C # and Javascript classes
Summarize the differences between C # and Java writing
Java language from the perspective of Kotlin and C #
[Note] Create a java environment from scratch with docker
Generate models from JSON to Swift, PHP, C #, JAVA
Java abstract modifier [Note]
[Java] Internal Iterator Note
Call Java from JRuby
Changes from Java 8 to Java 11
Sum from Java_1 to 100
Eval Java source from Java
Java JUnit brief note
[java] Java SE 8 Silver Note
Access API.AI from Java
[Note] Java: String search
[Note] Java: String survey
From Java to Ruby !!
My Study Note (Java)
java: Add date [Note]
Implement the same function as C, C ++ system ("cls"); in Java