C#
string myString;
string myString = "value";
Javascript:
var myString;
var MyString="value";
In C# you must specify the type, but in Javascript, the act of assigning a value defines a variable's type. You can also specify the type explicitly if you want.