C# an organized way to hide (clean up) many declared variables from my main?

So if I have a lot of long global string variables in my main that end up taking up a lot of lines in my main (around 500 to give you an idea) is there a way I can hide them somewhere else but still access them in my main? To better clarify, if this was c++ I'd just make a header with these variables defined and then link the header. Can I do the same with c#?

Here's an example of 1 of many parsed string arrays that contribute 500 lines of code to my main:

If you want something like C++ #include functionality, you can use partial class feature: split your class into multiple source files, some with the strings, another with the actual source code.

But IMO better solution is move the strings from C# source to some other place.
For example, to a string table in a .resx file. This way the IDE will give you nice GUI for editing the data, and the built-in code generator will allow you to refer those strings from C# code by their symbolic names.

Email codedump link for C# an organized way to hide (clean up) many declared variables from my main?