标题:这段代码什么意思
取消只看楼主
23760639
Rank: 1
等 级:新手上路
帖 子:277
专家分:0
注 册:2005-5-13
 问题点数:0 回复次数:0 
这段代码什么意思

Imports System Imports System.IO

Public Class Test Public Shared Sub Main() Try ' Only get files that begin with the letter "c." Dim dirs As String() = Directory.GetFiles("c:\", "c*") Console.WriteLine("The number of files starting with c is {0}.", dirs.Length) Dim dir As String For Each dir In dirs Console.WriteLine(dir) Next Catch e As Exception Console.WriteLine("The process failed: {0}", e.ToString()) End Try End Sub End Class

搜索更多相关主题的帖子: 代码 
2005-09-08 10:05



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-27024-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.447395 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved