Click or drag to resize
LookupCSV Class
The LookupCSV class provides a data-driven client for reading in a key-value pairs from a file; then, printing the values corresponding to the keys found on standard input. Both keys and values are strings. The fields to serve as the key and value are taken as command-line arguments.
Inheritance Hierarchy
SystemObject
  Algs4NetLookupCSV

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class LookupCSV

The LookupCSV type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMainTest
Demo test for the LookupCSV client.
Top
Remarks

For additional documentation, see Section 3.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

This class is a C# port from the original Java class LookupCSV implementation by the respective authors.

See Also