如何使用ip地址查找网络地址? [英] How to find network adress with ip adress ?

查看:87
本文介绍了如何使用ip地址查找网络地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过窗口中的代码C#将IP地址传输到网络地址?



我尝试过:



我认为将ip和子网转移到二进制然后和(ip vs subnet)转移到十进制,感谢所有

How do I transfer the IP address to network address by code C# in windowform ?

What I have tried:

I think transfer ip vs subnet to binary then and (ip vs subnet) affter that transfer to decimal, thanks all

推荐答案

请参阅子网 - 维基百科,免费的百科全书 [ ^ ]。


给初学者的建议:

为了学习一门语言,你需要阅读大量的文档并尽可能地学习教程。

教程中的项目并不是有用的,它们是为了教你一些东西。

不要尝试从有用的项目开始。



- 滥用调试器来查看代码正在逐步执行的操作,它让你对正在发生的事情有了宝贵的了解pect变量。

- Master 布尔代数,无处不在,每次测试时都会使用布尔代数。

- 掌握一些分析方法, Dijkstra自上而下方法是一个良好的开端。

https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design [ ^ ]

https://en.wikipedia。 org / wiki / Structured_programming [ ^ ]

https://en.wikipedia.org/wiki/Edsger_W._Dijkstra [ ^ ]

https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF [ ^ ]
Advice to beginner:
In order to learn a language, you need to read extensively documentation and follow tutorials as much as possible.
Projects in tutorials are not meant to be useful, they are meant to teach you something.
Don't try to begin with useful projects.

- Abuse of Debugger to see what the code is doing step by step, it gives you an invaluable understanding of what is going on, inspect variables.
- Master Boolean Algebra, it is ubiquitous, Every time you test something, you use Boolean algebra.
- Master some analyse methods, Dijkstra Top-Down method is a good start.
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]


这篇关于如何使用ip地址查找网络地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆