Look up “arrays” in C# to find the basic syntax for what you’re thinking about.
However, as @Antypodish points out, that will not necessarily make your code better or faster. It will make it harder to read for no performance benefit. (Actually… it makes the computer do more work.)
Right now your variables each have nice, human readable names. When you do some math, it’ll look like:
If you instead put every number in an array the same equation would look like:
By all means learn about arrays. But keep in mind that they generally only improve your code when you have a collection of related things that you will use together, in a loop or something like that.
Also, fur future reference, the Scripting section is the right place for these questions.