Java rolling dice + csv array output
Indentation

Your code's indentation is wrong, the class and method declaration should not be on the same line.



Whitespace

Your code has incorrect whitespace in places, for example:


int maxValue = numofDie*6;



and here:


case 4: taco[0] += 1;
    break;



The first one is missing whitespace between the operators, and the second one should have the taco[0] statement on a new line.



switch:

Your entire switch statement could be condensed to this:

taco[oneTotalRoll - 4] += 1;


All of your cases were testing if oneTotalRoll's value was 4 more than the array position, so in that case, you could just minus four from oneTotalRoll and use that as an index position.



Naming

You have variables named like taco , gorgon, N and M.

These should be named to things that are closer to their usage and what they are, for example:


taco into rollCount
gorgon into condensedList
N into stringDieCount
M into stringRollCount




String concatenation

Instead of string concatenating everything at the end, consider using an Array join to "glue" everything together with a common join (,).