You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/csharp/programming-guide/concepts/serialization/walkthrough-persisting-an-object-in-visual-studio.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Although you can set an object's properties to default values at design time, an
28
28
In this walkthrough, you will create a simple `Loan` object and persist its data to a file. You will then retrieve the data from the file when you re-create the object.
29
29
30
30
> [!IMPORTANT]
31
-
> This example creates a new file, if the file does not already exist. If an application must create a file, that application must `Create` permission for the folder. Permissions are set by using access control lists. If the file already exists, the application needs only `Write` permission, a lesser permission. Where possible, it is more secure to create the file during deployment, and only grant `Read` permissions to a single file (instead of Create permissions for a folder). Also, it is more secure to write data to user folders than to the root folder or the Program Files folder.
31
+
> This example creates a new file if the file does not already exist. If an application must create a file, that application must `Create` permission for the folder. Permissions are set by using access control lists. If the file already exists, the application needs only `Write` permission, a lesser permission. Where possible, it is more secure to create the file during deployment, and only grant `Read` permissions to a single file (instead of Create permissions for a folder). Also, it is more secure to write data to user folders than to the root folder or the Program Files folder.
32
32
33
33
> [!IMPORTANT]
34
34
> This example stores data in a binary format file. These formats should not be used for sensitive data, such as passwords or credit-card information.
@@ -85,7 +85,7 @@ Although you can set an object's properties to default values at design time, an
85
85
86
86
### To create a test application
87
87
88
-
1. To add a Windows Forms Application project to your solution, on the **File** menu, choose **Add**,**New Project**.
88
+
1. To add a Windows Forms Application project to your solution, on the **File** menu, choose **Add**,**New Project**.
89
89
90
90
2. In the **Add New Project** dialog box, choose **Windows Forms Application**, and enter `LoanApp` as the name of the project, and then click **OK** to close the dialog box.
91
91
@@ -227,4 +227,4 @@ Although you can set an object's properties to default values at design time, an
0 commit comments