What I want is to write a sentence in a text file. The sentence is 'function(a,b,c)' as below and a, b, c are variables.
using (var tw = new StreamWriter(path, false))
{
tw.WriteLine("data_reformat.reformat('a','b','c')");
}
It finally shows in a .txt
data_reformat.reformat('a','b','c')
However what I want is
data_reformat.reformat('A1','Date','ID')
where
a = 'A1'
b = 'Date'
c = 'ID'
So how to write like this and do I need to use other functions?