本課簡介
之前曾經介紹過可以使用 public 跟 private
來進行 class 內部資源的權限控管
可是有些從 base class 繼承來的資源
如果是 private 的話就無法直接使用
本課介紹如何使用 protected 來使得 base class 的資源
可以讓繼承的 class 來進行存取
2016年3月31日 星期四
2016年3月21日 星期一
小山的 C# 教學-第32課-Override vs Method Hiding
本課簡介
有時候使用 override 的時候常會忘記要加上關鍵字
如果沒有加的話程式仍可以正常執行
但是跑出來的結果卻不太一樣?
這是為什麼呢?
有時候使用 override 的時候常會忘記要加上關鍵字
如果沒有加的話程式仍可以正常執行
但是跑出來的結果卻不太一樣?
這是為什麼呢?
2015年10月1日 星期四
2014年10月8日 星期三
2014年10月7日 星期二
小山的資安教學 - 密碼學(一) - 替換加密法練習解答
密文
E fm ZSMK. Rdsaimd ki my kgkipefs anfttds. Knd lebdi yig fpd rfkanetx ez fcigk apyjkixpfjny. Knez ez f ldpy emjipkftk hedsb ih ethipmfkeit zdagpeky. Itd ih knd zemjsdzk dtaibetx mdknibz ez zgczkekgkeit aejndp, ftb yig fpd kpyetx ki bdaibetx ek tir.
明文
I am SLMT. Welcome to my tutorial channel. The video you are watching is about cryptography. This is a very important field of information security. One of the simplest encoding methods is substitution cipher, and you are trying to decoding it now.
密碼表
E fm ZSMK. Rdsaimd ki my kgkipefs anfttds. Knd lebdi yig fpd rfkanetx ez fcigk apyjkixpfjny. Knez ez f ldpy emjipkftk hedsb ih ethipmfkeit zdagpeky. Itd ih knd zemjsdzk dtaibetx mdknibz ez zgczkekgkeit aejndp, ftb yig fpd kpyetx ki bdaibetx ek tir.
明文
I am SLMT. Welcome to my tutorial channel. The video you are watching is about cryptography. This is a very important field of information security. One of the simplest encoding methods is substitution cipher, and you are trying to decoding it now.
密碼表
| 原來 | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| 換成 | F | C | A | B | D | H | X | N | E | W | O | S | M | T | I | J | Q | P | Z | K | G | L | R | V | Y | U |
訂閱:
文章 (Atom)