Aşağıdaki kod VB. net fakat bana C# kodu lazım dönüştürebilecek var mı acaba? Imports System. Math Module Factorial Function FactLength(ByVal x As Int32) As Int32 FactLength = (-x Log10 + (x Log10 + ((1 / 2) Log10(2 PI x)) End Function Function FactInt32(ByVal x As Int32) As String If x = 0 Then Return "1" Exit Function End If Dim temp As Int32 Dim MaxCheck As Int32 Dim Base As Byte = Int(Log10(2147483648 / x)) Dim Limit As Int32 = 10 ^ Base Dim TempOut As String Dim Array((FactLength \ Base) + 1) As Int32 Array(1) = 1 For FactCount As Int32 = 1 To x MaxCheck = (FactLength \ Base) + 1 For Count As Int32 = 1 To MaxCheck Array = FactCount Next For Count As Int32 = 1 To MaxCheck If Array >= Limit Then temp = Array \ Limit Array -= temp Limit Array(Count + 1) += temp End If Next Next For Count As Int32 = Array. GetUpperBound(0) To 1 Step -1 TempOut += Array . ToString. PadLeft(Base, "0") If TempOut. Length >= 1000 Then FactInt32 += TempOut TempOut = "" End If Next FactInt32 += TempOut FactInt32 = FactInt32. TrimStart("0") End Function End Module