using static System.Console; class Welcome { /// <summary> /// saying hello to all visitors and welcome. /// </summary> /// <param name="args">visitors</param> public static void Main(string[] args) { foreach(string visitor in args) { WriteLine($"Hello {visitor}."); } WriteLine("Welcome to my web page."); } } C# によるプログラミング入門 コンピュータの基礎知識 アルゴリズムとデータ構造 ブログ ようこそ ++C++; へ。 C#・情報工学を中心に勉強用ページとブログを載せています。
INSTAGRAM API(v1)の日本語訳Instagram API (日本語訳) はじめに Insagram APIの最初のバージョンを公開します。Instagramユーザが手軽に自分のデータにアクセスできるための第一歩です。Instagram APIの目的は、絶え間なくInstagramに投稿され、増え続ける膨大な写真を見るためのユニークで革新的な手段を、開発者が簡単に作り出せるようにすることです。 InstagramはiPhoneアプリケーションとして開発されましたが、私たちのビジョンは初期の頃に比べてはるかに大きくなっています。投稿される写真の数は日を追って増え続けています。私たちは、Instagramコミュニティは世界そのものの履歴を、視覚的に、そして豊かに記録するものだと信じています。才能に溢れた開発者に、データにアクセスするユニークな方法を考えついてもらえるようにすることが
MetroRadiance という名前のライブラリを NuGet で公開したのですが、Visual Studio や Office のようにウィンドウの枠を簡単に光らせることができる機能が話題を呼んでいます (呼んでいません)。 要するに、KanColleViewer や私の自作アプリで使っている、UI ライブラリです。 自身のアプリのブランド化のために自作した Theme を使っているのですが、せっかくなので公開しました。 このエントリーでは、簡単なチュートリアルとして、Visual Studio のようにウィンドウの枠を光らせるところまでを解説します。 ウィンドウの枠を消す ここで言う「ウィンドウの枠」とは、Windows 側で描画・管理される非クライアント領域 (ウィンドウ クロームと呼ばれる部分) のことです。 Visual Studio や Office のようなウィンドウを作る
FREE Metro Light and Dark Themes for WPF and Silverlight Microsoft Controls The quest for a good application theme never ends. You spend hours scouring the realms of Google and Bing looking for a clean, modern, and touch friendly theme to use in your application. That is, until now! If you have been looking for a free Metro theme for WPF and Silverlight, then look no further. Infragistics ships
自分のブログでも書いたので、Qiitaでの再掲ともなりますが、そのときよりも少しだけ発展させ、かつ詳説を加えてみたいと思います。 2015/08/22: コメント欄からのご指摘がいくつかあり、検証や追記、ソースコードの修正を行いました。 2015/10/08: コメント欄から、さらなるご指摘がいくつかあり、説明やソースコードの記述の修正を行いました。 まず「暗号化」するための常識、というか、ある程度の定石について解説します。 次に実際にソースコードを交えてファイルを暗号化してみます。 .NET Framework 4.0 には、標準で暗号化に必要なクラスがそろっていますので、今回は、それらを駆使して、自分のコードは必要最低限で済ませてみましょう。 暗号化には定石がある 意外とこのポイントを知らずに、ただ暗号化クラスを使っている方も多いと思います。 「定石」とは、暗号アルゴリズムは何を使うか
目次1 はじめに2 用意するライブラリ3 OAuth認証のしくみ3.1 補足4 アプリケーションの登録4.1 現在の手順4.2 以前の手順5 実装5.1 OAuthToekn取得5.2 AccessTokenの取得5.3 TwitterAPIの呼び出し6 ライブラリ部6.1 修正等7 サンプルアプリケーション7.1 UI7.2 コード7.3 実行結果 はじめに 前回はベーシック認証を利用し、Twitterにつぶやきを投稿しましたが、今回はOAuth認証を利用してTwitterにつぶやきを投稿してみます。OAuth認証を用いると、Twittの下部にクライアントアプリ名が表示され、ちょっと見栄えもよくなります。また、APIの呼び出し回数の制限も緩和されるらしいです。 OAuth認証は、手間のかかる実装がいくつかあるため、今回はライブラリを使うことにします。 用意するライブラリ Google C
前回の続きになります。先にこちらも読んで頂ければと。 WPF で Zune のようなウィンドウを作る というか、前回「もうすぐ公開します」的な雰囲気出しておきながら 1 ヶ月放置というアレっぷり。。 はい、気を取り直して。 前回の投稿で Zune ライクなウィンドウを作りましたが、今回は Visual Studio 2012 です。 Zune、MetroTwit、GitHub for Windows と Visual Studio 2012 の違いといえば、Visual Studio の方は端が光ってるんですよね。しかも状況に応じて色が変わる。左から、起動時、編集中、デバッグ中、非アクティブ時です。 かっこいいですね。ちなみに私は濃色テーマが好きです。 まず思いつく方法 真っ先に思いついたのは、WindowStyle=”None” と AllowsTransparency=”True” に
(2009年2月9日追記) 『GDI アクセラレーションについて整理する - NyaRuRu の日記』にて,公開された WDK のドキュメントを元に追加の考察を行っています. 基本的にはプレビュー版のWindows 7においても、日本語を利用することは可能だった。しかし、1つだけ大きな問題がある。それはAero Glassと日本語表示が必ずしも共存しないことだ。 図5はおなじみの日本語エディタ、秀丸をWindows 7のプレビュー版で起動したところだ。見れば分かるように、メニューの表示がおかしい。「その他」のメニューの途中から日本語表示が普通なのは、まだカーソルがこのエリアまで至っていないことを意味している。カーソルを下に持って行くと、それに連れてメニュー上部のように日本語表示がおかしくなっていく。なお、この画面はBlue Badgeを適用した後のものだが、この現象はBlue Badgeの
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く