|
-
Aug 31st, 2006, 09:51 PM
#1
Thread Starter
Fanatic Member
[2005] Question about writing a class
I'm working on a class using a tutorial and I'm wondering about something I'm seeing.
<vbcode>
<System.ComponentModel.DataObject()> _
Public Class ProductsBLL
Private _productsAdapter As ProductsTableAdapter = Nothing
Protected ReadOnly Property Adapter() As ProductsTableAdapter
Get
If _productsAdapter Is Nothing Then
_productsAdapter = New ProductsTableAdapter()
End If
Return _productsAdapter
End Get
End Property
End Class</vbcode>
Why all the underscores (_) ??
In the _productsAdapter declaration, why the underscore?
I'm confused.
Thanks!

In the unlikely event that I answer your question correctly, please Rate my post
Using Visual Studio 2005 Professional 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|