<!-- language-all: lang-cs -->

##C#, 105 bytes

---

**Golfed**

    String m(long c){long[]l=new long[c];long i=0;while(l.LongCount()<=c)l[i]=i++;return String.Join(",",l);}

---

**Ungolfed**

	String m( long c ) {
		long[] l = new long[ c ];
		long i = 0;

		while (l.LongCount() <= c)
			l[i] = i++;

		return String.Join( ",", l );
	}