Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Valentin CHAILLOU 4A - AL2
- * JSon To CSV parser
- * 29/06/2016
- */
- using System;
- namespace ConsoleTest
- {
- public class MyJsonLine
- {
- public int code;
- public string host;
- public string path;
- public int durationMS;
- override public string ToString() {
- return code + " " + host + " " + " " + path + " " + durationMS;
- }
- public string ToCsv() {
- return host + "," + path + "," + code + "," + durationMS;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement