forked from itmentors-dotnet25/Advanced-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPerformanceTasks.cs
More file actions
33 lines (29 loc) · 934 Bytes
/
Copy pathPerformanceTasks.cs
File metadata and controls
33 lines (29 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Advanced.Tasks;
public class PerformanceTasks
{
/// <summary>
/// Задание 3.1: Напишите метод, который реверсирует массив using Span.
/// </summary>
public void ReverseArray<T>(T[] array)
{
throw new NotImplementedException();
}
/// <summary>
/// Задание 3.2: Напишите метод, который суммирует элементы массива using Span.
/// </summary>
public int SumArray(Span<int> span)
{
throw new NotImplementedException();
}
/// <summary>
/// Задание 3.3: Напишите метод, который демонстрирует boxing/unboxing.
/// </summary>
public object BoxValue(int value)
{
throw new NotImplementedException();
}
public int UnboxValue(object value)
{
throw new NotImplementedException();
}
}