I have seen alot of questions about empty statements in C#
string retVal="mystring";;
My question is: If we don’t remove the empty statements, will the compiler remove them in the optimization phases?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. You can see this for yourself by compiling the application with and without empty statements, and checking the md5 checksum on the compiled application.