.net - Where can I get information on the ! operator used by VB.Net in Linq to DataSet? -
Uses one! Operator to refer to an area in Dotter.
Options strict closed import system. Data import system Dynamic table ("number") as the new table in the form of a new table of integer = {5, 4, 1, 3, 9, 8, 6, 7, 2,} as the public sub-main () slow number () Table Columns Add ("Number", GetType (integer) numbers for each N in the table. Rao.Jodha (new object () {n}) lower bottom number = from row Table. Row _ where line! Number & lt; 5 Select the row for each x in the minimum number console. Rightline (X! Number) Next End Sub End Module What is! Called operator? Where are the rules?
This is (in this context):
"Only one Use as a dictionary access operator on a class or interface. The class or interface should have a default property that accepts a string argument. The logic value is given to the identifier immediately after the operator line line ("number") is equal to
This operator is a legacy layer from VB6 and it is called VB.NET IMOShould be avoided.It is not really related specifically to LINQ
Your example is a little bit contraband because it does not compile (even with the option of strict closure )
Edit: It is now modified but will still not compile with the option
Note "Character! Used as a single-type character. " Example dim! = 0.12 But this is not intended to code in your context
Comments
Post a Comment