課程
/后端開發
/C#
/C#開發輕松入門
error CS2001: Source file `' could not be found
2017-07-26
源自:C#開發輕松入門 2-8
正在回答
using System;using System.Collections.Generic;using System.Text;namespace Test{??? class Program??? {??????? static void Main(string[] args)??????? {??????????? string today;//今天的午飯??????????? string tomorrow;//明天的午飯??????????? today = "魚香肉絲";??????????? tomorrow = "小雞燉蘑菇";??????????? //請在這里補充代碼,實現變量today和tomorrow的交換??????????? string temp;??????????? temp=today;??????????? today=tomorrow;??????????? tomorrow=temp;??????????? //打印??????????? Console.WriteLine("我今天吃{0},明天吃{1}。",today,tomorrow);??????? }??? }}
有一部分原因可能是系統問題,最主要的可能是自己范的小錯誤,比如分號?
系統的問題,我每次也這樣,自己拿vs調試吧。
舉報
本門課程是C#語言的入門教程,將帶你輕松入門.NET開發
3 回答這個代碼那里不對啊
2 回答這個核對代碼怎么搞的
2 回答我這段代碼哪有錯???
3 回答代碼有錯。
2 回答這代碼哪里不對·?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-10-30
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
??? class Program
??? {
??????? static void Main(string[] args)
??????? {
??????????? string today;//今天的午飯
??????????? string tomorrow;//明天的午飯
??????????? today = "魚香肉絲";
??????????? tomorrow = "小雞燉蘑菇";
??????????? //請在這里補充代碼,實現變量today和tomorrow的交換
??????????? string temp;
??????????? temp=today;
??????????? today=tomorrow;
??????????? tomorrow=temp;
??????????? //打印
??????????? Console.WriteLine("我今天吃{0},明天吃{1}。",today,tomorrow);
??????? }
??? }
}
2017-09-10
有一部分原因可能是系統問題,最主要的可能是自己范的小錯誤,比如分號?
2017-07-27
系統的問題,我每次也這樣,自己拿vs調試吧。