You should cook the corn in corn salad. Raw corn can have a firmer texture which may not be pleasant to eat in large quantities, and I find that the flavor of corn is best when it's cooked.