式形式のラムダ
(n) => a == n;
ステートメント型のラムダ
(n) => { return a == n; };
何もしないラムダ
Option Explicit | |
''インストールパス | |
const INSTALL_PATH = "http://hoge.example.com/oreoreApply/ClickOneceSample.application" | |
'' アンインストールコマンドの入っているレジストリ | |
const REGISTRY_PATH = "Software\Microsoft\Windows\CurrentVersion\Uninstall" | |
'' 処理 | |
UnInstallAll() |
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Run" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<ProjectFolder>C:/project/PublishSampleProject/</ProjectFolder> | |
<OutputFolder>C:/Temp/msbuildTest/</OutputFolder> | |
</PropertyGroup> | |
<Target Name="Run"> | |
<CallTarget Targets="Build"/> | |
<CallTarget Targets="Publish"/> | |
</Target> |
DECLARE @STR NVARCHAR(100) | |
SET @STR = '' | |
SELECT | |
@STR = @STR + STR1 + ' / ' | |
FROM( | |
SELECT | |
'hoge' AS STR1 | |
UNION | |
SELECT |
bcp "SELECT * FROM OPENROWSET(BULK N'C:\temp\hoge.jpg', SINGLE_BLOB) as hoge" queryout hoge.jpg -U hogefugaman -n |
import java.util.List; | |
public class DownCastSample { | |
public List<Integer> 警告が出る() { | |
Object obj = null; | |
List<Integer> ret = (List<Integer>) obj; | |
return ret; | |
} | |
public List<Integer> tryでくくっても警告が出る() { |
import java.lang.reflect.InvocationTargetException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.commons.beanutils.BeanUtils; | |
public class Converter { | |
public static <T, U> List<U> convert(List<T> in, Class<U> type) { | |
List<U> out = new ArrayList<U>(); |
$(".resizable").resizable({ | |
handles: "se", | |
resize: function (event, ui) { | |
var self = $(this).data("resizable"); | |
self.size.width = self.width; | |
} | |
}); |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
using NUnit.Framework; | |
namespace Ledsun.Util | |
{ |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
using System.Xml; | |
using System.Xml.Serialization; | |
using NUnit.Framework; | |
namespace Ledsun.Util | |
{ |
式形式のラムダ
(n) => a == n;
ステートメント型のラムダ
(n) => { return a == n; };
何もしないラムダ