This file contains 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
<?php | |
// Your code here! | |
touch('test.text'); | |
mkdir('test/hoge/fuga'); | |
mkdir('test'); | |
touch('test/test2.text'); | |
mkdir('test/test'); | |
touch('test/test/test3.hoge'); | |
mkdir('test/test2'); | |
touch('test/test2/test2-2.text'); |
This file contains 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.Collections; | |
using System.Collections.Generic; | |
namespace System.Linq | |
{ | |
/// <summary> | |
/// LINQ用 Simultaneous 拡張関数の定義 | |
/// 複数のIEnumerableを並行に合成する | |
/// </summary> | |
public static class SimultaneousExtensions |
This file contains 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.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains 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.Management; | |
namespace ManagementObjectSample | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains 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 Microsoft.Win32; | |
namespace ExampleProject | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains 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.Windows.Forms; | |
using System.Collections.Generic; | |
namespace System.Windows.Forms.Extensions | |
{ | |
/// <summary> | |
/// コントロールの拡張関数クラス | |
/// </summary> | |
public static class ControlExtension | |
{ |
This file contains 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
/// <summary> | |
/// 非同期 -> 固まらない同期 | |
/// </summary> | |
/// <typeparam name="T">非同期処理の戻りの型</typeparam> | |
/// <param name="RunAsync">非同期処理</param> | |
/// <param name="Factory">スレッドを選択するファクトリー</param> | |
/// <param name="Waiter">待つ為の関数</param> | |
/// <returns></returns> | |
private static T RunSync<T>(Func<Task<T>> RunAsync, TaskFactory Factory = null, Action Waiter = null) | |
{ |
This file contains 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 Microsoft.Win32; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; |
This file contains 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; | |
namespace じゃんけんげーむ | |
{ | |
/// <summary> | |
/// じゃんけんの手 | |
/// </summary> | |
enum じゃんけんの手 | |
{ |
This file contains 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; | |
namespace ArrayTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
NewerOlder