2018-05-12

C#

  • using statement is similar to Java import
  • ArrayList is from System.Collections
  • Dictionary is similar to Java HashMap, is from System.Collections.Generic
  • To check if Dictionary contains a key, use ContainsKey
  • foreach
    foreach (type a in container b)
    

你可能感兴趣的:(2018-05-12)