Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
23 events
when toggle format what by license comment
Jan 2, 2021 at 8:06 answer added Ramil Aliyev 007 timeline score: 2
Aug 13, 2019 at 22:57 answer added Joel Brighton timeline score: 0
Aug 2, 2017 at 8:53 history edited Balagurunathan Marimuthu CC BY-SA 3.0
Question modified and re-tagged
Mar 4, 2015 at 15:12 answer added contactmatt timeline score: 60
Aug 15, 2012 at 7:17 vote accept Geek
Aug 15, 2012 at 7:17 vote accept Geek
Aug 15, 2012 at 7:17
Aug 15, 2012 at 7:16 answer added Geek timeline score: 0
Aug 15, 2012 at 7:15 comment added Geek thanks avd i manage to solve the code with the help you guys thanks all :)
Aug 15, 2012 at 7:06 comment added KV Prajapati @Geek - Posted code seems OK to me. Please check the syntax in your code editor of array initializer - int []ar=new int() {1,2} This code will throws such exception.
Aug 15, 2012 at 6:32 comment added Geek ok i updated the complete code now but still getting an error - posted error too in bottom
Aug 15, 2012 at 6:31 history edited Geek CC BY-SA 3.0
added 257 characters in body
Aug 15, 2012 at 6:21 history suggested Faery CC BY-SA 3.0
Better formating
Aug 15, 2012 at 6:19 review Suggested edits
Aug 15, 2012 at 6:21
Aug 15, 2012 at 6:16 comment added Mahdi Tahsildari @DanielHilgarth :) you're right i did it on hurry
Aug 15, 2012 at 6:14 comment added user166390 -1 Please include the exact error message.
Aug 15, 2012 at 6:11 answer added Jon Skeet timeline score: 25
Aug 15, 2012 at 6:11 answer added JohnnBlade timeline score: 1
Aug 15, 2012 at 6:11 comment added Daniel Hilgarth @mahditahsildari: System.Collections.Generic? System.Linq? Those are not necessary.
Aug 15, 2012 at 6:11 answer added KV Prajapati timeline score: 3
Aug 15, 2012 at 6:10 comment added elyashiv using System; should be enough.
Aug 15, 2012 at 6:10 comment added Mahdi Tahsildari using System; using System.Collections.Generic; using System.Linq; using System.Text; Add these and your problem should solve
Aug 15, 2012 at 6:08 comment added elyashiv what 'using' statements do you have?
Aug 15, 2012 at 6:06 history asked Geek CC BY-SA 3.0