c# - Will a pointless semicolon have any performance impact? -


sometimes, notice add additional ; after statement.

example:

console.writeline("meow");;

will effect performance in app? specifically, wondering c#.

none whatsoever; not impact il code compiler generates.

it may have performance impact on coworkers have maintain code...

you might interested in reading empty statements, such

bool processmessage() {...} void processmessages() {    while (processmessage())       ; } 

Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -