Creating Multiple Variables

I need to create variables like
public var variable1:String;
but lets say I need 1000 of them
do I have to write them one by one?
public var variable1:String;
public var variable2:String;