Looks like C#
It is java coding styled but would probably compile fine in C#
C# recommends Pascal convention for member names, eg books.Read().
Java would be books.read() which is used in the opening post (camelcase)
I only point this out as have been porting my Java based ATS to C sharp recently (like today).
I last programmed with Pascal casing back in 1995. So it feels weird to use that style again.
Or books.readBook() as a method name is often recommended to be a combination of a verb and a noun.Java would be books.read() which is used in the opening post (camelcase)
Or books.readBook() as a method name is often recommended to be a combination of a verb and a noun.