This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace Project11 | |
| { | |
| public class Point | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // original "seed" code. | |
| public void ComputePoints() | |
| { | |
| for (int x = 0; x < 20; x++) | |
| { | |
| for (int y = 0; y < 20; y++) | |
| { | |
| points.Add(new Point { x = x, y = y }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET NOCOUNT ON | |
| DBCC UPDATEUSAGE(0) | |
| -- DB size. | |
| EXEC sp_spaceused | |
| -- Table row counts and sizes. | |
| CREATE TABLE #t | |
| ( |
OlderNewer