Ujjawal Arora

Ujjawal Arora

  • 1.7k
  • 45
  • 3.4k

how to read textfile using streamreader split() and stored

Feb 26 2019 12:13 AM
IN C# how to read textfile using streamreader split() method and stored in a mulltidimensional array.
 
 
 
the contents of the file is 
 
 
#Sub ID,F_id1-F_id2-......
55,374-391-915-388-386-385-383-380-382-381-378-379-375-376-377-384-387
56,393-394-406-407-402-404-408-399-397-398-396-401-400-395-403-405
49,267-285-272-268-274-276-271-280-278-279-283-281-277-282-284-275-273
50,287-304-297-298-294-295-299-289-288-290-303-292-291-293-302
51,306-308-307-311-315-317-310-312-309-316
52,319-320-328-321-324-323-322-325-326-327
59,434-449-444-445-441-439-446-436-438-437-432-433-435-430-431-440-443
60,452-464-463-461-465-458-466-455-456-457-451-453-454-450-459-462
41,161-162-167-163-169-171-166-175-173-174-180-179-176-178-177-170-168
43,181-182-187-183-189-186-193-192-190-191-195-199-198-196-197-188
44,200-201-202-204-205-210-207-203
45,211-212-219-214-216-218-215-213
61,471-476-477-470-473-472-469
62,480-486-478-479-482-487-481-485-488-484
58,423-424-936-425-427-426-429
57,412-413-414-417-416-415-420-418
46,221-222-232-233-223-226-224-225-234-237-235-236-228-238-230-243-231-239-241-227
53,330-331-341-342-332-335-333-334-343-346-344-345-337-347-339-351-340-348-350-336
63,491-501-499-520-489-493-490-492-500-504-502-503-495-505-497-498-506-508-494
84,752-767-890-755-765-756-766-757-762-764-753-754-763
89,796-813-804-798-808-799-809-806-800-810-811-797-801-812
47,244-245-254-253-250-259-260-251-248-257-246-255-249-258-247-256-252
101,917-918-933-934-925-926-919-920-924-923-921-922-935-932-930-931-927-928-929
76,681-880-700-688-698-694-686-687-699-683-684-685-695-696-697
73,625-647-663-626-630-656-631-662-627-628-629-657-659-661
99,916-944-943-942-940-941-939-937-938
 

Answers (1)