public static void Main(string[] args)
{
var cube = new Formula<Func<int, int>>( (x) => x * x, "(x) => x * x" );
Console.WriteLine(cube.Exec(3));
Console.WriteLine(cube.Text);
}
public class Formula<T>
{
public readonly T Exec;
public readonly string Text;
public Formula(T action, string text)
{
Exec = action;
Text = text;
}
}
храню семейный фото и видео архив и другую накопившуюся за 15 лет инфу
Хотелось бы услышать другие точки зрения, будет ли выигрыш в производительности скажем в играх и повседневных задачах, если система будет на SSD, а все остальные файлы на raid 0?
hover
. using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Gameplay : MonoBehaviour {
string Word;
public GameObject PrefabCharCell;
public GameObject tempCell;
public Transform GridCellPos;
void SomeMethod(GameObject tempCell){
}
void Start ()
{
Word = "Meet";
foreach (char ch in Word.ToUpper().ToCharArray())
{
tempCell = Instantiate(PrefabCharCell);
tempCell.transform.SetParent(GridCellPos,false);
SomeMethod(tempCell);
}
}
}
<svg height="210" width="500">
<line x1="0" y1="0" x2="200" y2="200" style="stroke:rgb(255,0,0);stroke-width:2" />
</svg>
myControl.SuspendLayout();
... меняем контент в myControl ...
myControl.ResumeLayout(false);
myControl.PerformLayout();
public partial class MainWindow : Form
{
/// <summary>
/// Fix for slow UI rendering
/// </summary>
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x02000000; // Turn on WS_EX_COMPOSITED
return cp;
}
}
}