• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 391
  • Last Modified:

new line at end of file

I am doing a big code reformat on a C# project (about 2000 .cs files).
One of the choices is whether to have a newline at the end of file.
Yes or no?
0
allelopath
Asked:
allelopath
1 Solution
 
käµfm³d 👽Commented:
There is no requirement by the compiler that a newline be placed at the end of the file (like some other languages), so it comes down to what your (or your team's) preference is.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now