ColorDialog Displays available colors along with controls that enable the user to define
custom colors.
1.Using the My Namespace
2.Using the System.IO.FileObject
3.Using the StreamReaderand StreamWriterObject
4.Using Data File Manipulation Four Ways of MANIPULATING TEXT FILES
MY NAMESPACE A rapid access feature designed to simplify accessing the .NET
Framework to perform common tasks such as manipulating forms, exploring the host computer
and its file system, displaying information about the current application or its user, and accessing
Web services.
My.Application Information related to the current application, including the title,
directory, and version number
My.Computer Information about the hardware, software, and files located on the current
(local) computer. My.Computerincludes My.Computer.FileSystem, which you can use to open
text files and encoded files on the system
My.Forms Information about the forms in your current Visual Studio project.
, My.Resources Information about your application's resources (read only). Allows you to
dynamically retrieve resources for your application.
My.Settings Information about your application's settings. Allows you to dynamically
store and retrieve property settings and other information for your application.
My.User Information about the current user active on My.Computer.
My.WebServices Information about Web services active on My.Computer, and a
mechanism to access new Web services
WriteAllText Creates a new file, writes the specified string to the file, and then closes the
file. If the target file already exists, it is overwritten.
WriteAllLines creates a new file, writes the specified string array to the file, and then
closes it.
ReadAllText Returns the contents of a text file as a string
ReadAllLines Opens a Text File, reads all the lines as a string array, and then closes it.
Streams are sequences of bytes exchanged with some kind of sources, such as files,
memory, and network.