摘要: 阅读全文
posted @ 2015-06-17 15:44 xymum 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Imports System.IOPublic Class Form1 'Create private varables Private addressDList As Dictionary(Of String, List(Of String)) Private lstAddress As List... 阅读全文
posted @ 2015-06-17 15:41 xymum 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Public Class Address Private addrNickName As String Private addrFullName As String Private addrEmail As String Public Sub New(ByVal nickName As Stri... 阅读全文
posted @ 2015-06-17 15:40 xymum 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Public Class Form1 Private Const NUM_SIDES = 6 Private roll As New Random() Private cash As Integer = 100 Private betAmount As Integer = 10 Privat... 阅读全文
posted @ 2015-06-17 15:38 xymum 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-17 15:37 xymum 阅读(139) 评论(0) 推荐(0) 编辑
摘要: VB StringsString Length Comparing StringsStrings in VB.NET are compared using the String Compare method. The return value can be -1 (if the... 阅读全文
posted @ 2015-06-17 15:16 xymum 阅读(287) 评论(0) 推荐(0) 编辑
摘要: RegionsVisual Studio IDE provides an easy way to collapse long tracts of program code into short sections for better viewing and easier scrolling.The ... 阅读全文
posted @ 2015-06-17 15:02 xymum 阅读(127) 评论(0) 推荐(0) 编辑
摘要: StructuresSometimes you may need to define your own data type in your VB code -- structures allow you to create composite values. Primitive variables ... 阅读全文
posted @ 2015-06-17 14:59 xymum 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Inheritance - OverridesWhen a base class defines only the names of its methods or properties with the MustInherit modifier, the derived classes must p... 阅读全文
posted @ 2015-06-17 14:57 xymum 阅读(120) 评论(0) 推荐(0) 编辑
摘要: VB.NET supports collections such as List and Dictionary, which are useful constructs when building applications that need to access a set of related i... 阅读全文
posted @ 2015-06-17 14:54 xymum 阅读(96) 评论(0) 推荐(0) 编辑