public static op_Multiply ( string lhs, int count ) : string | ||
lhs | string | |
count | int | |
return | string |
public static string op_Multiply(string lhs, int count)
{
if (count < 0)
{
throw new ArgumentOutOfRangeException("count");
}
string result = null;
if (null != lhs)
{
StringBuilder builder = new StringBuilder(lhs.Length * count);
for (int i = 0; i < count; ++i)
{
builder.Append(lhs);
}
result = builder.ToString();
}
return result;
}
RuntimeServices::op_Multiply ( |
|
RuntimeServices::op_Multiply ( int count, |
|
RuntimeServices::op_Multiply ( object lhs, TypeCode lhsTypeCode, object rhs, TypeCode rhsTypeCode ) : object | |
RuntimeServices::op_Multiply ( int count, string rhs ) : string |