
30/04/2013 0 C# - A ref or out argument must be an lvalue | |
Mots-clés: | |
Le compilateur n'accepte pas les variables temporaires pour un argument passé par référence TestMethod(ref notionalList.ToArray()); // ERREUR Array notionalArray = notionalList.ToArray(); TestMethod(notionalArray); // OK | |