Day6. Namespace style
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
namespace _189._Rotate_Array
|
||||
namespace _189._Rotate_Array;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
internal class Program
|
||||
static void Main(string[] args)
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var arr = new int[] { 1, 2, 3, 4, 5, 6 };
|
||||
new Solution().Rotate(arr, 3);
|
||||
Console.WriteLine(String.Join(" ", arr));
|
||||
}
|
||||
var arr = new int[] { 1, 2, 3, 4, 5, 6 };
|
||||
new Solution().Rotate(arr, 3);
|
||||
Console.WriteLine(String.Join(" ", arr));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user