h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Keyword used for Abstract class and Abstract method in VB.Net

Keyword used for Abstract class in VB.Net

MustInherit keyword

Keyword used for Abstract Method in VB.Net

MustOverride Keyword

Keyword used for hiding method from Base Class in VB.net

Keyword used for hiding method from  Base Class in VB.net

Shadow Keyword is used to hide a method from a Base Class.

Delete files in VB.Net

Delete files in VB.Net

Kill(<File Path>)

Kill(D:\Lakshmi.txt)

Create XPS File in VB.Net

Select .Net 3.5 Framework

    Using prn As New PrintDocument
            With prn
                .PrinterSettings.PrinterName = "Microsoft XPS Document Writer"
                .DefaultPageSettings.PaperSize = New PaperSize("Legal", 850, 1400)

                If My.Computer.FileSystem.FileExists(xpsfile) Then My.Computer.FileSystem.DeleteFile(xpsfile)
                .DefaultPageSettings.PrinterSettings.PrintToFile = True
                .DefaultPageSettings.PrinterSettings.PrintFileName = xpsfile
                .Print()
            End With
        End Using

Add Reference
ReachFramework
WindowBase

Anonymous Methods in C#

Anonymous Methods in C#
               C# supports delegates for invoking one or multiple methods. 
               Delegates provide operators and methods for 

  •                              adding and removing target methods, and are used extensively throughout the .NET Framework for events, 
  •                              callbacks, 
  •                             asynchronous calls, 
  •                              multithreading. 

             Anonymous methods is a new feature in C# 2.0 that lets you define an anonymous (that is, nameless) method called by a delegate.