LINQ - Sample Queries

This project contains about 101 samples using LINQ.

 
 
 
 
 
4.8 Star
(89)
175,743 times
Add to favorites
3/13/2012
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET
C#
' Copyright © Microsoft Corporation.  All Rights Reserved.
' This code released under the terms of the 
' Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
'
Imports System

Namespace SampleSupport
    <AttributeUsage((AttributeTargets.Method Or AttributeTargets.Class), AllowMultiple:=False)> _
    Public NotInheritable Class PrefixAttribute
        Inherits Attribute
        ' Methods
        Public Sub New(ByVal prefix As String)
            _prefix = prefix

        End Sub


        ' Properties
        Public ReadOnly Property Prefix As String
            Get
                Return _prefix
            End Get
        End Property


        ' Fields
        Private ReadOnly _prefix As String
    End Class
End Namespace