[ 01011011 @ 29.02.2008. 19:21 ] @
Ovo su mi dakle zadnje 2 metode u klasi, i citam na itnernetu da nema zamjene u C# za mybase() Kako bih mogao ovo da prebacim u C# Code: Public Sub New() MyBase.New() Try 'Check to see if the footprint has been initialized If Footprint Is Nothing Then Footprint = New Footprint() Footprint.NewEntry = True End If Catch ex As Exception LogError(Err, Me, "Error while initializing object " & ex.Message & " " & ex.Source & Chr(13) & Chr(10) & ex.StackTrace) End Try End Sub Protected Overrides Sub Finalize() Try If Not Footprint Is Nothing Then Footprint = Nothing Catch ex As Exception LogError(Err, Me, "Error while finalizing object " & ex.Message & " " & ex.Source & Chr(13) & Chr(10) & ex.StackTrace) End Try MyBase.Finalize() End Sub |