public final String get(String name) {for (IndexableField field : fields) {if (field.name().equals(name) && field.stringValue() != null) {return field.stringValue();}}return null;}
public string Get(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal) && field.GetStringValue() != null){return field.GetStringValue();}}return null;}