1 import java.util.Collections; 2 import java.util.LinkedList; 3 import java.util.List; 4 5 public class Test { 6 7 List list = new LinkedList(); 8 public static void main(String[] args) { 9 List list = new LinkedList(); 10 for ( int i = 0 ; i < 9 ;…
先来看看定义: // Summary: // Adds an object to the end of the System.Collections.Generic.List<T>. // // Parameters: // item: // The object to be added to the end of the System.Collections.Generic.List<T>. // The value can be null for reference types…
最经在写winform程序,其中有用到播放背景音乐 特此收集了一些网上的教程: 1.调用非托管的dll using System.Runtime.InteropServices; //DllImport命名空间的引用 class test //提示音 { [DllImport("winmm.dll")] public static extern bool PlaySound(String Filename,int Mod,int Flags); public void Main() {…