[
y ]
son corchetes. En su uso, indican un atributo. Cuando se usan en otros contextos, indican algún tipo de indexación.
Ejemplos
int[] intArray = new int[6]; //Initializes an array of 6 integers
intArray[0] = 1; //Assigns the value 1 to the first (zero-based) index of intArray
string connString = ConfigurationManager.ConnectionStrings["default"].ConnectionString;
//The above uses "text indexing" to find the connection string in your App.config
// or Web.config with a key with the provided string (in this case "default")
También puede utilizar corchetes cuadrados para agarrar los elementos del diccionario por su nombre clave, elementos en colecciones tales como bases de datos, ya sea por número de índice, o nombre, etc.
También se utiliza para las matrices, índices, indicadores: http://msdn.microsoft.com/en-us/library/a3hd7ste.aspx – cofiem
+1 para ligarse a docs – Mizipzor
@cofiem: Eso se llama 'indexer' – abatishchev