//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public static <E extends Exception> void writeTo(ValueWriter<E> writer, String[] values) throws E public static void WriteTo <E>(ValueWriter <E> writer, string[] values) where E : Exception { writer.BeginArray(values.Length, ValueWriter_ArrayType.String); foreach (string x in values) { writer.WriteString(x); } writer.EndArray(); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public <E extends Exception> void writeTo(ValueWriter<E> writer) throws E public override void WriteTo <E>(ValueWriter <E> writer) where E : Exception { writer.WriteString(Value()); }