use expression bodies
This commit is contained in:
@ -15,14 +15,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
public string Get()
|
||||
{
|
||||
return File.ReadAllText(filePath);
|
||||
}
|
||||
public string Get() => File.ReadAllText(filePath);
|
||||
|
||||
public void Save(string content)
|
||||
{
|
||||
File.WriteAllText(filePath, content);
|
||||
}
|
||||
public void Save(string content) => File.WriteAllText(filePath, content);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user