Dart语言ListFirst()方法

// Dart语言ListFirst()方法
void main() { 
   var lst = new List(); 
   lst.add(12); 
   lst.add(13); 
   print("The first element of the list is: ${lst.first}"); 
}

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266151.html

(0)
上一篇 2022年6月7日 21:57
下一篇 2022年6月7日 21:57

相关推荐

发表回复

登录后才能评论