có bất kỳ công cụ nào (phần mở rộng VS, hoặc có thể Resharper hỗ trợ điều này ...) tồn tại có thể mã hóa hoặc mã hóa mã trong lớp của tôi theo một số cách nhất định không? Như thế này:C# tổ chức mã của tôi
public static fields/properties
private static fields/properties
public fields/properties
private fields/properties
constructors
public static methods
private static methods
public methods
private methods
vv
(và tất cả đều được sắp xếp theo thứ tự abc)
Nó sẽ rất đẹp ...
Tôi muốn có mã của tôi rất có tổ chức, nhưng đôi khi tôi không tuân thủ các quy tắc của riêng tôi và hơn là sắp xếp lại mọi thứ bằng tay có thể hơi rắc rối một chút)
Xem thêm [make-resharper-respect-your-preferences-for-code-order?] (Http://stackoverflow.com/questions/603805/make-resharper-respect-your-preference-for- code-order? lq = 1) – nawfal