Is there a way to import the contents of a text file into a source code file upon compilation? Just like the include()/require() methods in Perl and PHP (see: http://php.net/manual/en/function.include.php).

PHP and perl uses interpreter where C# code is translated by the compiler.

>Is there a way to import the contents of a text file into a source code file upon compilation?

Build
.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.