Author: Peter Smith | Posted on: 9/1/2010 3:59:57 PM | Views : 277

I have defined a property in a masterpage in vb.net.
I want to use the same code in a C# project, but I have no idea how to translate it. And yes Ive seen pages like: http://www.carlosag.net/Tools/CodeTranslator/
and http://support.microsoft.com/kb/319265

But I'm new, so I have no idea.

Here's the code:


Public Property BreadCrumb() As String
        Get
            Return lblBreadcrumb.Text
        End Get
        Set(ByVal path As String)
            Dim BreadCrumbBuilder As New StringBuilder
            BreadCrumbBuilder.Append("<li><a title=""Home"" href=""/"">Home</a& ...

Go to the complete details ...