請問想學C#程式語言 要學多久?

2013-06-24 4:45 pm
我本身沒有接觸過任何程式語言, 但工作上需要這些技能, 如果由0開始自學,
直到能普通運用C# , 要經過那些必修的階段 ? 如果一天能花8小時自學 要學多久?

我的工作應用 大慨如下 :

region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Indicator;
using NinjaTrader.Gui.Chart;
using NinjaTrader.Strategy;
#endregion

// This namespace holds all strategies and is required. Do not change it.
namespace NinjaTrader.Strategy
{
/// <summary>
/// Enter the description of your strategy here
/// </summary>
[Description("Enter the description of your strategy here")]
public class SlowStochasticSignal1 : Strategy
{
#region Variables
// Wizard generated variables
private int slowK = 13;
private int slowD = 9;
private int smoothD = 6;

// User defined variables (add any user defined variables below)
#endregion

/// <summary>
/// This method is used to configure the strategy and is called once before any strategy method is called.
/// </summary>
protected override void Initialize()
{
//Stochastics(smoothD, slowK, slowD).Plot[0].Pen.Color = Color.Beige;
Add(Stochastics(6,13,9));
Add(SMA(13));
CalculateOnBarClose = true;
SetProfitTarget(CalculationMode.Ticks,30);
}

/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
if (1 == 2) ;
{
EnterShort(1,"short");
}
}

#region Properties
public int Slowk
{
get { return slowK; }
set { slowK = Math.Max(1, value); }
}

public int SlowD
{
get { return slowD; }
set { slowD = Math.Max(1, value); }
}
public int SmoothD
{
get { return smoothD; }
set { smoothD = Math.Max(1, value); }
}
#endregion
}
}

回答 (2)

2013-06-26 2:59 pm
✔ 最佳答案
depends what you are required to do....

there are no loops... only methods calling....
but programming knowledge/strategy is more than just study for...
you need to be flexible and understand what methods do...?
even as basic as variable declaring

e.g
private int ....
protected override void....

C# is fairly easy...
if 8 hours all absorbed....

3 months at it's peak?
that is all basic cover, understand methods and be able to construct your own...
possible with 1 month just cover basic then miss and match....

what i see is programming never ends :-P the library is so big....

2013-06-26 07:00:53 補充:
conclude from your code... will only take about 3 weeks fastest cheers!
參考: 3rd year computer science
2013-06-25 1:31 am
我以前做文職, 朝九晚五點半工作, 經常坐於寫字樓使身體越來越肥; 同時經常出外用饍, 使身體毒素增加; 終由110
磅肥到135磅! 經濟而又健康既方法, 用咗4個月減了22磅, 也大大改善頭痛,胃痛, 暈車浪和植物曲脹等等問題.

如果你係想認真減肥, Keep Fit 的話, 你可以透過顧客網站: <www.herbalifeww.com/hk>資料, 後請電: <93227176>莊小組
會有專業營養顧問免費同你跟進, 做免費脂肪測試及健康分析一次! 另我們除了減肥, 也可以替人增肥, 改善身形, 體重控制, 細胞更新和美容護膚等等.

***減重/增重/保健/改善體態/心臟健康/腸胃健康/抗氧化 增強抵抗力肌膚健康/暗瘡問題/深層清潔 /美白保濕/個人護理/營養補充品***

兼職: $3000 - $5000/全職: $20000-$50000網上賺錢, 運用電腦網上派傳單, 工作為 Post 網增加網站, 可在任何可上網的地方開始 • 100 %網上賺錢 • 可自由控制工作時間與收入, 收入時間可自由選擇 - 學歷中三以上 - 懂基本電腦運作, 有興趣E-Mail:[email protected],

32年歷史,全球已有6,000萬名滿意用戶2009年足球先生美斯成為代言人及成為巴塞隆拿足球隊指定營養公司,專業顧問跟進 適合繁忙的都市人.

觀塘地鐵站交收, 30日滿意保證, 會員優惠

Company: Healthy Dots 健康之點 (健康營養早/午餐店)
My Shop: 觀塘雲漢街109號, 建泰樓地下
TEL:9 3 2 2 7 1 7 6 MAY 莊小姐
(另外招募店主)


收錄日期: 2021-04-27 15:28:27
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20130624000051KK00051

檢視 Wayback Machine 備份