简体   繁体   中英

How to add a blank lines in C# application developed in Visual Studio?

I want to add blank line between two lines.I have more code likes an example.

        errorStructObj = new ErrorStruct(0, ErrorStruct.errorMainType.ExceptionError, ErrorStruct.errorEventType.Non_Wcf, ErrorStruct.errorEnvironmentType.Database, ErrorStruct.errorOperationType.Asynchronous, ErrorStruct.messageShownEnvironment.ClientAlert, "EXCCE00004", "Hata! Hata Kodu : EXCCE000004");
        Program.errorStructFactoryNesne.AddErrorStructListeler(4, errorStructObj);
        errorStructObj = new ErrorStruct(0, ErrorStruct.errorMainType.ExceptionError, ErrorStruct.errorEventType.Non_Wcf, ErrorStruct.errorEnvironmentType.Database, ErrorStruct.errorOperationType.Asynchronous, ErrorStruct.messageShownEnvironment.ClientAlert, "EXCCE00005", "Hata! Hata Kodu : EXCCE000005");
        Program.errorStructFactoryNesne.AddErrorStructListeler(5, errorStructObj);
        errorStructObj = new ErrorStruct(0, ErrorStruct.errorMainType.ExceptionError, ErrorStruct.errorEventType.Non_Wcf, ErrorStruct.errorEnvironmentType.Database, ErrorStruct.errorOperationType.Asynchronous, ErrorStruct.messageShownEnvironment.ClientAlert, "EXCCE00006", "Hata! Hata Kodu : EXCCE000006");
        Program.errorStructFactoryNesne.AddErrorStructListeler(6, errorStructObj);

在VS中,在查找选项中按ctrl+shift+H选中搜索项类型\\nUse Regular expression ,对于替换项类型\\n\\n ,按ctrl+A将替换全部。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM