前端进阶(2)使用fetch/axios时, 如何取消http请求
摘要:前端进阶(2)使用fetch/axios时, 如何取消http请求 1. 需求 现在前端都是SPA,我们什么时候需要取消HTTP请求呢? 当我们从一个页面跳转到另外一个页面时,如果前一个页面的请求还没有返回,那么我们希望取消前一个页面的请求 某些操作耗时比较长(不能是保存等操作哦),如果用户不想等待
阅读全文
posted @
2021-04-25 15:31
Jack Niu
阅读(1384)
推荐(0)
2021 Top 100 C#/.NET Interview Questions And Answers
摘要:https://jackniu81.github.io/2021/04/22/2021-Top-100-C-NET-Interview-Questions-And-Answers/ 1. What is the difference between “dispose” and “finalize”
阅读全文
posted @
2021-04-22 16:13
Jack Niu
阅读(136)
推荐(0)
2021 .NET/dotnet Core/C# 面试题及参考答案
摘要:1. NET/dotnet core/.NET framework 的关系 2. corefx, coreclr 都是什么? 3. asp.net core 3.1. 3.1 Kestrel 3.2. 3.2 asp.net core 主要的特性 3.3. 3.3 startup class的作用?
阅读全文
posted @
2021-04-16 15:30
Jack Niu
阅读(12456)
推荐(1)
2021 Vue.js 面试题汇总及答案
摘要:1. 基本问题 1.1. Vue.js 的特点 1.2. Vue.js 双向绑定的原理 1.3. Vue.js 3.0 放弃defineProperty, 使用Proxy的原因 1.4. Vue 2 中给 data 中的对象属性添加一个新的属性时会发生什么?如何解决? 1.5. Computed和W
阅读全文
posted @
2021-04-13 15:12
Jack Niu
阅读(33173)
推荐(2)
.NET 4.0 will come soon, let’s review what is new in .net 3.0
摘要:* Automatically Implemented Properties * Object and Collection Initializers * Implicitly Typed Local Variables and Implicitly Typed Arrays * Extending Types with Extension Methods * Lambda Expressions...
阅读全文
posted @
2009-06-12 15:32
Jack Niu
阅读(398)
推荐(0)
将链表逆序(Revert)的C#实现
摘要:链表逆序,是面试常见的考题。今天我的Manager居然给我出了这道题(说是再招聘其他人以我的水平做参照!),我做的可是漏洞百出啊,闲来整理了一下代码用C#的实现,以备今后面试之用。 // 链表类 class LL { public string value; public LL link; // used for outputing the link data ...
阅读全文
posted @
2007-12-18 12:34
Jack Niu
阅读(1017)
推荐(0)
C#中,两个事件的叠加,结果会如何?
摘要:前段参加了个面试,C#中,两个事件叠加,如下
t.EventTest += delegate { Console.WriteLine("111"); };
t.EventTest += delegate { Console.WriteLine("222"); };
其输出结果会是什么样的?
阅读全文
posted @
2007-04-13 16:09
Jack Niu
阅读(1058)
推荐(0)
总结了一些常见的排序算法,面试必备啊!
摘要:包括常见的算法的复杂度/说明等内容.
( 以表格形式整理)
阅读全文
posted @
2007-04-13 14:10
Jack Niu
阅读(5698)
推荐(0)
设计模式(Design Pattern)扫盲
摘要:前两天我们头让我给面试个人,特整理了些资料,供大家参考.(不管是面试别人,还是被面试,呵呵)
阅读全文
posted @
2007-03-12 11:23
Jack Niu
阅读(897)
推荐(0)