| CSVHelperToCSVRecord Method |
Converts a number of fields to a CSV record.
Each field is put quotes only if it contains commas or quotes (and those quotes are then doubled).
Namespace:
Omada.OE.Model.Helper
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic static string ToCSVRecord(
IEnumerable<string> fields,
char separator = ','
)
Parameters
- fields
- Type: System.Collections.GenericIEnumerableString
- separator (Optional)
- Type: SystemChar
Return Value
Type:
String
See Also