using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
public class Test
{
private static readonly int[][] matrix = new int[6][];
static Test()
{
matrix[0] = new int[] { 1, 2, 3, 4, 5, 6 };
matrix[1] = new int[] { 7, 8, 9, 10, 11, 12 };
matrix[2] = new int[] { 13, 14, 15, 16, 17, 18 };
matrix[3] = new int[] { 19, 20, 21, 22, 23, 24 };
matrix[4] = new int[] { 25, 26, 27, 28, 29, 30 };
matrix[5] = new int[] { 31, 32, 33, 34, 35, 36 };
}
public static void Main()
{
string date="01.05.2015 12:12:34";
var dutchCulture = CultureInfo.CreateSpecificCulture("nl-NL");
var date1 = DateTime.ParseExact(date, "dd.MM.yyyy HH:mm:ss", dutchCulture);
Console.Write("Month:{0} Day{1} ToString:{2}", date1.Month,date1.Day,date1.ToString());
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKdXNpbmcgU3lzdGVtLkxpbnE7CnVzaW5nIFN5c3RlbS5HbG9iYWxpemF0aW9uOwoKcHVibGljIGNsYXNzIFRlc3QKewogICBwcml2YXRlIHN0YXRpYyByZWFkb25seSBpbnRbXVtdIG1hdHJpeCA9IG5ldyBpbnRbNl1bXTsKCiAgICBzdGF0aWMgVGVzdCgpCiAgICAgICAgewogICAgICAgICAgICBtYXRyaXhbMF0gPSBuZXcgaW50W10geyAxLCAyLCAzLCA0LCA1LCA2IH07CiAgICAgICAgICAgIG1hdHJpeFsxXSA9IG5ldyBpbnRbXSB7IDcsIDgsIDksIDEwLCAxMSwgMTIgfTsKICAgICAgICAgICAgbWF0cml4WzJdID0gbmV3IGludFtdIHsgMTMsIDE0LCAxNSwgMTYsIDE3LCAxOCB9OwogICAgICAgICAgICBtYXRyaXhbM10gPSBuZXcgaW50W10geyAxOSwgMjAsIDIxLCAyMiwgMjMsIDI0IH07CiAgICAgICAgICAgIG1hdHJpeFs0XSA9IG5ldyBpbnRbXSB7IDI1LCAyNiwgMjcsIDI4L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