Click or drag to resize

CsvWriter Class

Writes lines of CSV encoded columns to a file or TextWriter.
Inheritance Hierarchy
SystemObject
  Neon.CsvCsvWriter

Namespace:  Neon.Csv
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public sealed class CsvWriter : IDisposable

The CsvWriter type exposes the following members.

Constructors
  NameDescription
Public methodCsvWriter(TextWriter)
Constructs a writer to a TextWriter.
Public methodCsvWriter(Stream, Encoding)
Constructs a writer to a stream.
Top
Methods
  NameDescription
Public methodClose
Closes the writer if it is still open.
Public methodDispose
Releases any resources associated with the reader.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteLine
Writes the arguments passed to the output, separating each argument with a comma and adding escape characters as necessary.
Top
Thread Safety
Instance members of this type are not safe for multi-threaded operations.
See Also