
C#
君浪
君子不器 浪子不羁
展开
-
LeetCode笔记:Move Zeros[Difficulty: Easy]
原题:Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0, 3, 12], after ca原创 2016-03-04 21:27:24 · 475 阅读 · 0 评论 -
学习C#的第一个程序:笔记查找与记录
昨天学习了C#的语法,觉得这个语言相比c、c++较为简单,和JAVA有相似之处,在VS上写代码体验很不错。C#有很多Windows的API可供调用,其中比如查找目录及文件,操作很方便。由此想到一个小程序的点子:因为平时会记录一些简短的笔记,比如SQL语句、HTML语句、LINUX的SHELL语句,有时候要用想要去查,翻书或者翻笔记什么的都太慢而且分心,想到可以把记录放到一个文件里,然后使用原创 2016-04-11 22:17:35 · 448 阅读 · 0 评论