Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Topics/07. High-quality-Methods/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ static int Sum(int[] elements) { … }
- This coupling is usual, do not worry too much

```cs
static int CalcArea()
static int CalcArea()
{
return this.Width * this.Height;
}
Expand Down Expand Up @@ -654,7 +654,7 @@ and return the resulting value as string
- Use the **[Obsolete]** attribute in .NET

```cs
[Obsolete("CreateXml() method is deprecated.
[Obsolete("CreateXml() method is deprecated.
Use CreateXmlReader instead.")]
public void CreateXml (…)
{
Expand Down